Class: KrakenClient::Requests::Content::Body
- Inherits:
-
Object
- Object
- KrakenClient::Requests::Content::Body
- Defined in:
- lib/kraken_client/requests/content/body.rb
Instance Attribute Summary collapse
-
#post_data ⇒ Object
readonly
Returns the value of attribute post_data.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(post_data) ⇒ Body
constructor
A new instance of Body.
Constructor Details
#initialize(post_data) ⇒ Body
Returns a new instance of Body.
8 9 10 |
# File 'lib/kraken_client/requests/content/body.rb', line 8 def initialize(post_data) @post_data = post_data end |
Instance Attribute Details
#post_data ⇒ Object (readonly)
Returns the value of attribute post_data.
6 7 8 |
# File 'lib/kraken_client/requests/content/body.rb', line 6 def post_data @post_data end |
Instance Method Details
#call ⇒ Object
12 13 14 |
# File 'lib/kraken_client/requests/content/body.rb', line 12 def call post_data end |