Class: KrakenClient::Requests::Content::Body

Inherits:
Object
  • Object
show all
Defined in:
lib/kraken_client/requests/content/body.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_dataObject (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

#callObject



12
13
14
# File 'lib/kraken_client/requests/content/body.rb', line 12

def call
  post_data
end