Class: Ebisu::StoreImage
- Inherits:
-
Object
- Object
- Ebisu::StoreImage
- Defined in:
- lib/ebisu/models/store_image.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#medium ⇒ Object
Returns the value of attribute medium.
Instance Method Summary collapse
-
#initialize(data) ⇒ StoreImage
constructor
A new instance of StoreImage.
Constructor Details
#initialize(data) ⇒ StoreImage
Returns a new instance of StoreImage.
10 11 12 13 |
# File 'lib/ebisu/models/store_image.rb', line 10 def initialize(data) @id = data.dig('Id') @medium = data.dig('Medium') end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/ebisu/models/store_image.rb', line 5 def id @id end |
#medium ⇒ Object
Returns the value of attribute medium.
9 10 11 |
# File 'lib/ebisu/models/store_image.rb', line 9 def medium @medium end |