Class: RakutenProductApi::Response
- Inherits:
-
Object
- Object
- RakutenProductApi::Response
- Defined in:
- lib/rakuten_product_api/response.rb
Instance Attribute Summary collapse
-
#datas ⇒ Object
readonly
Returns the value of attribute datas.
-
#doc ⇒ Object
readonly
Returns the value of attribute doc.
-
#http_response ⇒ Object
readonly
Returns the value of attribute http_response.
-
#items ⇒ Object
readonly
Returns the value of attribute items.
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Instance Method Summary collapse
- #body ⇒ Object
-
#initialize(response) ⇒ Response
constructor
A new instance of Response.
Constructor Details
Instance Attribute Details
#datas ⇒ Object (readonly)
Returns the value of attribute datas.
5 6 7 |
# File 'lib/rakuten_product_api/response.rb', line 5 def datas @datas end |
#doc ⇒ Object (readonly)
Returns the value of attribute doc.
5 6 7 |
# File 'lib/rakuten_product_api/response.rb', line 5 def doc @doc end |
#http_response ⇒ Object (readonly)
Returns the value of attribute http_response.
5 6 7 |
# File 'lib/rakuten_product_api/response.rb', line 5 def http_response @http_response end |
#items ⇒ Object (readonly)
Returns the value of attribute items.
5 6 7 |
# File 'lib/rakuten_product_api/response.rb', line 5 def items @items end |
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
5 6 7 |
# File 'lib/rakuten_product_api/response.rb', line 5 def raw @raw end |
Instance Method Details
#body ⇒ Object
14 15 16 |
# File 'lib/rakuten_product_api/response.rb', line 14 def body @raw.to_s end |