Class: ProteusClient::Thumbnail
- Inherits:
-
Struct
- Object
- Struct
- ProteusClient::Thumbnail
- Defined in:
- lib/proteus_client/models/thumbnail.rb
Instance Attribute Summary collapse
-
#size ⇒ Object
Returns the value of attribute size.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(options) ⇒ Thumbnail
constructor
A new instance of Thumbnail.
Constructor Details
#initialize(options) ⇒ Thumbnail
Returns a new instance of Thumbnail.
4 5 6 7 8 |
# File 'lib/proteus_client/models/thumbnail.rb', line 4 def initialize() .each do |key, value| self[key.to_sym] = value end end |
Instance Attribute Details
#size ⇒ Object
Returns the value of attribute size
2 3 4 |
# File 'lib/proteus_client/models/thumbnail.rb', line 2 def size @size end |
#url ⇒ Object
Returns the value of attribute url
2 3 4 |
# File 'lib/proteus_client/models/thumbnail.rb', line 2 def url @url end |