Class: Kentaa::Api::Resources::PerformancePhoto

Inherits:
Resource
  • Object
show all
Defined in:
lib/kentaa/api/resources/performance_photo.rb

Instance Attribute Summary

Attributes inherited from Resource

#id

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

#initialize, #load, #loaded?

Constructor Details

This class inherits a constructor from Kentaa::Api::Resources::Resource

Class Method Details

.attribute_keyObject



8
9
10
# File 'lib/kentaa/api/resources/performance_photo.rb', line 8

def attribute_key
  'photo'
end

Instance Method Details

#image_urlObject



17
18
19
# File 'lib/kentaa/api/resources/performance_photo.rb', line 17

def image_url
  data[:image_url]
end

#object_keyObject



13
14
15
# File 'lib/kentaa/api/resources/performance_photo.rb', line 13

def object_key
  "ActionPerformancePhoto_#{id}"
end