Module: DHLEcommerceEU

Defined in:
lib/dhl_ecommerce_eu.rb,
lib/dhl_ecommerce_eu/cache.rb,
lib/dhl_ecommerce_eu/client.rb,
lib/dhl_ecommerce_eu/version.rb,
lib/dhl_ecommerce_eu/objects/label.rb,
lib/dhl_ecommerce_eu/objects/shipment.rb,
lib/dhl_ecommerce_eu/objects/tracking.rb,
lib/dhl_ecommerce_eu/objects/base_object.rb,
lib/dhl_ecommerce_eu/resources/base_resource.rb,
lib/dhl_ecommerce_eu/resources/label_resource.rb,
lib/dhl_ecommerce_eu/resources/shipment_resource.rb,
lib/dhl_ecommerce_eu/resources/tracking_resource.rb

Overview

require ‘httplog’ # Uncomment this line to enable HTTP logging

Defined Under Namespace

Classes: BaseObject, BaseResource, Client, Error, Label, LabelResource, Shipment, ShipmentResource, Tracking, TrackingResource

Constant Summary collapse

VERSION =
'0.1.5'

Class Method Summary collapse

Class Method Details

.cacheObject



2
3
4
# File 'lib/dhl_ecommerce_eu/cache.rb', line 2

def self.cache
  @cache ||= defined?(Rails) ? Rails.cache : ActiveSupport::Cache::MemoryStore.new
end