Class: Shippinglogic::FedEx::Service
- Includes:
- HTTParty, Attributes, Request, Response, Validation
- Defined in:
- lib/shippinglogic/fedex/service.rb
Constant Summary
Constants included from Response
Response::SUCCESSFUL_SEVERITIES
Instance Attribute Summary collapse
-
#base ⇒ Object
Returns the value of attribute base.
Instance Method Summary collapse
-
#initialize(base, attributes = {}) ⇒ Service
constructor
Accepts the base service object as a single parameter so that we can access authentication credentials and options.
Methods included from Validation
Methods included from Attributes
Constructor Details
#initialize(base, attributes = {}) ⇒ Service
Accepts the base service object as a single parameter so that we can access authentication credentials and options.
19 20 21 22 |
# File 'lib/shippinglogic/fedex/service.rb', line 19 def initialize(base, attributes = {}) self.base = base super end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Shippinglogic::FedEx::Proxy
Instance Attribute Details
#base ⇒ Object
Returns the value of attribute base.
15 16 17 |
# File 'lib/shippinglogic/fedex/service.rb', line 15 def base @base end |