Class: FedexRateGetter::Formatter::Body

Inherits:
Object
  • Object
show all
Defined in:
lib/fedex_rate_getter/formatter/body.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(credentials, quote_params) ⇒ Body

Returns a new instance of Body.



8
9
10
# File 'lib/fedex_rate_getter/formatter/body.rb', line 8

def initialize(credentials, quote_params)
	@body = build_body(credentials, quote_params)
end

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



6
7
8
# File 'lib/fedex_rate_getter/formatter/body.rb', line 6

def body
  @body
end