Module: WeShipClient

Defined in:
lib/we_ship_client.rb,
lib/we_ship_client/client.rb,
lib/we_ship_client/version.rb,
lib/we_ship_client/exceptions.rb,
lib/we_ship_client/token_client.rb,
lib/we_ship_client/entities/base.rb,
lib/we_ship_client/entities/order.rb,
lib/we_ship_client/entities/types.rb,
lib/we_ship_client/entities/address.rb,
lib/we_ship_client/entities/order_item.rb,
lib/we_ship_client/entities/order_items.rb,
lib/we_ship_client/entities/track_request.rb,
lib/we_ship_client/interactors/get_tracking.rb,
lib/we_ship_client/transforms/tracking_item.rb,
lib/we_ship_client/interactors/process_orders.rb,
lib/we_ship_client/entities/responses/track_order.rb,
lib/we_ship_client/entities/process_orders_request.rb,
lib/we_ship_client/entities/responses/tracking_item.rb,
lib/we_ship_client/entities/responses/order_accepted.rb,
lib/we_ship_client/entities/responses/order_rejected.rb,
lib/we_ship_client/entities/responses/process_orders.rb,
lib/we_ship_client/entities/responses/track_response.rb,
lib/we_ship_client/entities/responses/rejected_orders.rb,
lib/we_ship_client/entities/responses/proof_of_delivery.rb

Defined Under Namespace

Modules: Entities, Exceptions, Interactors, Transforms Classes: Client, TokenClient

Constant Summary collapse

VERSION =
'1.2.0'

Class Method Summary collapse

Class Method Details

.loggerObject



12
13
14
# File 'lib/we_ship_client.rb', line 12

def self.logger
  @logger ||= defined?(Rails) ? Rails.logger : Logger.new(STDOUT)
end