Class: SPImaging::ShowImagesResponse
- Inherits:
-
Object
- Object
- SPImaging::ShowImagesResponse
- Defined in:
- lib/spimaging/show_images_response.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#content_disposition ⇒ Object
Returns the value of attribute content_disposition.
-
#content_encoding ⇒ Object
Returns the value of attribute content_encoding.
-
#content_type ⇒ Object
Returns the value of attribute content_type.
-
#status_code ⇒ Object
Returns the value of attribute status_code.
Instance Method Summary collapse
-
#initialize(status_code, body, content_type, content_encoding, content_disposition) ⇒ ShowImagesResponse
constructor
A new instance of ShowImagesResponse.
Constructor Details
#initialize(status_code, body, content_type, content_encoding, content_disposition) ⇒ ShowImagesResponse
Returns a new instance of ShowImagesResponse.
5 6 7 8 9 10 11 |
# File 'lib/spimaging/show_images_response.rb', line 5 def initialize(status_code, body, content_type, content_encoding, content_disposition) self.status_code = status_code self.body = body self.content_type = content_type self.content_encoding = content_encoding self.content_disposition = content_disposition end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
3 4 5 |
# File 'lib/spimaging/show_images_response.rb', line 3 def body @body end |
#content_disposition ⇒ Object
Returns the value of attribute content_disposition.
3 4 5 |
# File 'lib/spimaging/show_images_response.rb', line 3 def content_disposition @content_disposition end |
#content_encoding ⇒ Object
Returns the value of attribute content_encoding.
3 4 5 |
# File 'lib/spimaging/show_images_response.rb', line 3 def content_encoding @content_encoding end |
#content_type ⇒ Object
Returns the value of attribute content_type.
3 4 5 |
# File 'lib/spimaging/show_images_response.rb', line 3 def content_type @content_type end |
#status_code ⇒ Object
Returns the value of attribute status_code.
3 4 5 |
# File 'lib/spimaging/show_images_response.rb', line 3 def status_code @status_code end |