Module: Xpost
- Defined in:
- lib/xpost/orders.rb,
lib/xpost.rb,
lib/xpost/models.rb,
lib/xpost/version.rb,
lib/xpost/models/item.rb,
lib/xpost/models/order.rb,
lib/xpost/configuration.rb,
lib/xpost/authentication.rb,
lib/xpost/models/address.rb
Overview
Ideal Order.create flow
order = Order.create({...})
order.confirm / order.cancel
order.for_pickup(pickup_address, pickup_date)
order.update({...})
Defined Under Namespace
Modules: Authentication, Models Classes: Configuration, Orders
Constant Summary collapse
- VERSION =
"0.1.2"
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.
13 14 15 |
# File 'lib/xpost.rb', line 13 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
20 21 22 |
# File 'lib/xpost.rb', line 20 def self.configure yield configuration end |