Class: INatGet::Data::DSL::Condition::Special::ProjectUsers Private
- Inherits:
-
INatGet::Data::DSL::Condition
- Object
- INatGet::Data::DSL::Condition
- INatGet::Data::DSL::Condition::Special::ProjectUsers
- Defined in:
- lib/inat-get/data/dsl/conditions/special/project_users.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary
Attributes inherited from INatGet::Data::DSL::Condition
Instance Method Summary collapse
- #api_query ⇒ Object private
-
#initialize(project_id) ⇒ ProjectUsers
constructor
private
A new instance of ProjectUsers.
Methods inherited from INatGet::Data::DSL::Condition
#!, #&, #sequel_query, #|
Methods included from INatGet::Data::DSL
#AND, #ANYTHING, #NOT, #NOTHING, #OR, #Q, #finish_time, #get_identification, #get_observation, #get_place, #get_project, #get_taxon, #get_user, #now, #select_identifications, #select_observations, #select_places, #select_projects, #select_taxa, #select_users, #start_time, #time_range, #today, #version, #version!, #version?, #version_alias
Constructor Details
#initialize(project_id) ⇒ ProjectUsers
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of ProjectUsers.
10 11 12 |
# File 'lib/inat-get/data/dsl/conditions/special/project_users.rb', line 10 def initialize project_id @project_id = project_id end |
Instance Method Details
#api_query ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
14 15 16 |
# File 'lib/inat-get/data/dsl/conditions/special/project_users.rb', line 14 def api_query [ { endpoint: "projects/#{ @project_id }/members", query: {} } ] end |