Class: Kentaa::Api::Resources::PerformancePhoto
- Defined in:
- lib/kentaa/api/resources/performance_photo.rb
Instance Attribute Summary
Attributes inherited from Resource
Attributes inherited from Base
#config, #endpoint_path, #options, #resource_class
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Resource
#create, #created_at, #delete, #initialize, #load, #save, #updated_at
Methods inherited from Base
Constructor Details
This class inherits a constructor from Kentaa::Api::Resources::Resource
Class Method Details
.attribute_key ⇒ Object
8 9 10 |
# File 'lib/kentaa/api/resources/performance_photo.rb', line 8 def attribute_key 'photo' end |
Instance Method Details
#image_url ⇒ Object
17 18 19 |
# File 'lib/kentaa/api/resources/performance_photo.rb', line 17 def image_url data[:image_url] end |
#object_key ⇒ Object
13 14 15 |
# File 'lib/kentaa/api/resources/performance_photo.rb', line 13 def object_key "ActionPerformancePhoto_#{id}" end |