Class: SPImaging::ShowImagesResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/spimaging/show_images_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject

Returns the value of attribute body.



3
4
5
# File 'lib/spimaging/show_images_response.rb', line 3

def body
  @body
end

#content_dispositionObject

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_encodingObject

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_typeObject

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_codeObject

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