Class: FantasticRobot::Model::Attachment::PhotoSize
- Defined in:
- lib/fantastic_robot/model/attachment/photo_size.rb
Overview
This object represents one size of a photo or a file / sticker thumbnail.
Constant Summary
Constants inherited from Base
Instance Attribute Summary collapse
-
#file_id ⇒ Object
Returns the value of attribute file_id.
-
#file_size ⇒ Object
Returns the value of attribute file_size.
-
#height ⇒ Object
Returns the value of attribute height.
-
#width ⇒ Object
Returns the value of attribute width.
Method Summary
Methods inherited from Base
Methods inherited from Base
#attributes, #initialize, #to_h
Constructor Details
This class inherits a constructor from FantasticRobot::Model::Base
Instance Attribute Details
#file_id ⇒ Object
Returns the value of attribute file_id.
5 6 7 |
# File 'lib/fantastic_robot/model/attachment/photo_size.rb', line 5 def file_id @file_id end |
#file_size ⇒ Object
Returns the value of attribute file_size.
5 6 7 |
# File 'lib/fantastic_robot/model/attachment/photo_size.rb', line 5 def file_size @file_size end |
#height ⇒ Object
Returns the value of attribute height.
5 6 7 |
# File 'lib/fantastic_robot/model/attachment/photo_size.rb', line 5 def height @height end |
#width ⇒ Object
Returns the value of attribute width.
5 6 7 |
# File 'lib/fantastic_robot/model/attachment/photo_size.rb', line 5 def width @width end |