Class: Crunchbase::Model::Image
- Defined in:
- lib/crunchbase/model/image.rb
Direct Known Subclasses
Constant Summary collapse
- RESOURCE_LIST =
'images'
Instance Attribute Summary collapse
-
#asset_path ⇒ Object
readonly
Returns the value of attribute asset_path.
-
#asset_url ⇒ Object
readonly
Returns the value of attribute asset_url.
-
#content_type ⇒ Object
readonly
Returns the value of attribute content_type.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#filesize ⇒ Object
readonly
Returns the value of attribute filesize.
-
#height ⇒ Object
readonly
Returns the value of attribute height.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
-
#width ⇒ Object
readonly
Returns the value of attribute width.
Attributes inherited from Entity
Instance Method Summary collapse
Methods inherited from Entity
array_from_list, #fetch, funding_rounds_lists, get, #initialize, list, organization_lists, parsing_from_list, person_lists, total_items_from_list
Constructor Details
This class inherits a constructor from Crunchbase::Model::Entity
Instance Attribute Details
#asset_path ⇒ Object (readonly)
Returns the value of attribute asset_path.
8 9 10 |
# File 'lib/crunchbase/model/image.rb', line 8 def asset_path @asset_path end |
#asset_url ⇒ Object (readonly)
Returns the value of attribute asset_url.
8 9 10 |
# File 'lib/crunchbase/model/image.rb', line 8 def asset_url @asset_url end |
#content_type ⇒ Object (readonly)
Returns the value of attribute content_type.
8 9 10 |
# File 'lib/crunchbase/model/image.rb', line 8 def content_type @content_type end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
8 9 10 |
# File 'lib/crunchbase/model/image.rb', line 8 def created_at @created_at end |
#filesize ⇒ Object (readonly)
Returns the value of attribute filesize.
8 9 10 |
# File 'lib/crunchbase/model/image.rb', line 8 def filesize @filesize end |
#height ⇒ Object (readonly)
Returns the value of attribute height.
8 9 10 |
# File 'lib/crunchbase/model/image.rb', line 8 def height @height end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
8 9 10 |
# File 'lib/crunchbase/model/image.rb', line 8 def updated_at @updated_at end |
#width ⇒ Object (readonly)
Returns the value of attribute width.
8 9 10 |
# File 'lib/crunchbase/model/image.rb', line 8 def width @width end |
Instance Method Details
#property_keys ⇒ Object
10 11 12 13 14 |
# File 'lib/crunchbase/model/image.rb', line 10 def property_keys %w[ asset_url asset_path content_type height width filesize created_at updated_at ] end |