Class: NHApi::Image
- Inherits:
-
Object
- Object
- NHApi::Image
- Defined in:
- lib/nh_api/image.rb
Instance Attribute Summary collapse
-
#filetype ⇒ Object
readonly
Returns the value of attribute filetype.
-
#height ⇒ Object
readonly
Returns the value of attribute height.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
-
#width ⇒ Object
readonly
Returns the value of attribute width.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Image
constructor
A new instance of Image.
Constructor Details
Instance Attribute Details
#filetype ⇒ Object (readonly)
Returns the value of attribute filetype.
5 6 7 |
# File 'lib/nh_api/image.rb', line 5 def filetype @filetype end |
#height ⇒ Object (readonly)
Returns the value of attribute height.
5 6 7 |
# File 'lib/nh_api/image.rb', line 5 def height @height end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
5 6 7 |
# File 'lib/nh_api/image.rb', line 5 def url @url end |
#width ⇒ Object (readonly)
Returns the value of attribute width.
5 6 7 |
# File 'lib/nh_api/image.rb', line 5 def width @width end |