Class: DHLEcommerceEU::BaseResource

Inherits:
Object
  • Object
show all
Defined in:
lib/dhl_ecommerce_eu/resources/base_resource.rb

Direct Known Subclasses

LabelResource, ShipmentResource, TrackingResource

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#clientObject (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