Class: DHLEcommerceEU::BaseResource
- Inherits:
-
Object
- Object
- DHLEcommerceEU::BaseResource
- Defined in:
- lib/dhl_ecommerce_eu/resources/base_resource.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(client) ⇒ BaseResource
constructor
A new instance of BaseResource.
Constructor Details
#initialize(client) ⇒ BaseResource
Returns a new instance of BaseResource.
5 6 7 |
# File 'lib/dhl_ecommerce_eu/resources/base_resource.rb', line 5 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
3 4 5 |
# File 'lib/dhl_ecommerce_eu/resources/base_resource.rb', line 3 def client @client end |