Class: FedexRateGetter::Formatter::Body
- Inherits:
-
Object
- Object
- FedexRateGetter::Formatter::Body
- Defined in:
- lib/fedex_rate_getter/formatter/body.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(credentials, quote_params) ⇒ Body
constructor
A new instance of Body.
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
#body ⇒ Object
Returns the value of attribute body.
6 7 8 |
# File 'lib/fedex_rate_getter/formatter/body.rb', line 6 def body @body end |