Class: INat::Entity::ProjectAdmin
- Inherits:
-
Data::Entity
- Object
- Data::Model
- Data::Entity
- INat::Entity::ProjectAdmin
- Includes:
- Data::Types, INat::Entity
- Defined in:
- lib/inat/data/entity/projectadmin.rb
Instance Attribute Summary collapse
-
#project ⇒ type: Project
The
project
field. -
#role ⇒ type: ProjectAdminRole
The
role
field. -
#user ⇒ type: User
The
user
field.
Attributes inherited from Data::Entity
Method Summary
Methods included from Data::Types
#radius, radius, #sector, sector
Methods inherited from Data::Entity
by_id, #complete?, ddl, fetch, from_db_rows, #get, #init, #initialize, load, load_file, parse, read, #save, #to_db, #update
Methods included from App::Logger::DSL
#debug, debug, echo, #echo, error, #error, #info, info, log, #log, #warning, warning
Methods inherited from Data::Model
DDL, api_limit, api_part, api_path, backs, block, field, fields, has_path?, has_table?, #ignore, #initialize, links, #post_update, #process?, #saved?, table, #to_h, #update
Constructor Details
This class inherits a constructor from INat::Data::Entity
Instance Attribute Details
#project ⇒ type: Project
Returns the project
field.
17 |
# File 'lib/inat/data/entity/projectadmin.rb', line 17 field :project, type: Project, index: true |
#role ⇒ type: ProjectAdminRole
Returns the role
field.
18 |
# File 'lib/inat/data/entity/projectadmin.rb', line 18 field :role, type: ProjectAdminRole, index: true, required: true |