Module: Xpost
- Defined in:
- lib/xpost/orders.rb,
lib/xpost.rb,
lib/xpost/item.rb,
lib/xpost/order.rb,
lib/xpost/address.rb,
lib/xpost/version.rb,
lib/xpost/statuses.rb,
lib/xpost/configuration.rb,
lib/xpost/authentication.rb
Overview
Ideal Order.create flow
order = Order.create({...})
order.confirm / order.cancel
order.for_pickup(pickup_address, pickup_date)
Defined Under Namespace
Modules: Authentication Classes: Address, Configuration, Item, Order, Orders, Statuses
Constant Summary collapse
- VERSION =
"0.1.23"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
15 16 17 |
# File 'lib/xpost.rb', line 15 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
22 23 24 |
# File 'lib/xpost.rb', line 22 def self.configure yield configuration end |