Module: Snap
- Includes:
- Models
- Defined in:
- lib/snap.rb,
lib/snap/client.rb,
lib/snap/version.rb,
lib/snap/response.rb,
lib/snap/api/outbound.rb,
lib/snap/api/shipments.rb,
lib/snap/models/outbound.rb,
lib/snap/models/shipment.rb,
lib/snap/api/stock_totals.rb,
lib/snap/models/stock_total.rb,
lib/snap/api/shipment_status.rb,
lib/snap/models/outbound_list.rb,
lib/snap/models/shipment_line.rb,
lib/snap/models/shipment_status.rb,
lib/snap/models/stock_total_list.rb,
lib/snap/api/errors/definition_error.rb,
lib/snap/api/errors/order_stage_error.rb,
lib/snap/api/errors/stock_total_not_found_error.rb
Overview
Top level module for the Snap gem.
Defined Under Namespace
Modules: Api, Client, Models Classes: Configuration, Response
Constant Summary collapse
- VERSION =
'0.1.11'.freeze
Class Attribute Summary collapse
-
.config ⇒ Object
Returns the value of attribute config.
Class Method Summary collapse
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
31 32 33 |
# File 'lib/snap.rb', line 31 def config @config end |
Class Method Details
.configure {|config| ... } ⇒ Object
34 35 36 37 |
# File 'lib/snap.rb', line 34 def self.configure self.config ||= Configuration.new yield(config) end |