Class: MWS::API::BinaryResponse

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby-mws/api/binary_response.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body


4
5
6
# File 'lib/ruby-mws/api/binary_response.rb', line 4

def body
  @body
end

Class Method Details

.parse(response, name, params) ⇒ Object


6
7
8
# File 'lib/ruby-mws/api/binary_response.rb', line 6

def self.parse(response, name, params)
  new(response.parsed_response)
end