Class: INat::Entity::Flag
- Inherits:
-
Data::Entity
- Object
- Data::Model
- Data::Entity
- INat::Entity::Flag
- Includes:
- INat::Entity
- Defined in:
- lib/inat/data/entity/flag.rb
Instance Attribute Summary collapse
-
#comment ⇒ type: String
The
comment
field. -
#created_at ⇒ type: Time
The
created_at
field. -
#flag ⇒ type: String
The
flag
field. -
#resolved ⇒ type: Boolean
The
resolved
field. -
#resolver ⇒ type: User
The
resolver
field. -
#updated_at ⇒ type: Time
The
updated_at
field. -
#user ⇒ type: User
The
user
field.
Attributes inherited from Data::Entity
Method Summary
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
#comment ⇒ type: String
Returns the comment
field.
24 |
# File 'lib/inat/data/entity/flag.rb', line 24 field :comment, type: String |
#created_at ⇒ type: Time
Returns the created_at
field.
19 |
# File 'lib/inat/data/entity/flag.rb', line 19 field :created_at, type: Time |
#flag ⇒ type: String
Returns the flag
field.
18 |
# File 'lib/inat/data/entity/flag.rb', line 18 field :flag, type: String, required: true |
#resolved ⇒ type: Boolean
Returns the resolved
field.
22 |
# File 'lib/inat/data/entity/flag.rb', line 22 field :resolved, type: Boolean, index: true |
#resolver ⇒ type: User
Returns the resolver
field.
23 |
# File 'lib/inat/data/entity/flag.rb', line 23 field :resolver, type: User, index: true |