Module: Veeqo
- Defined in:
- lib/veeqo/resources/order.rb,
lib/veeqo.rb,
lib/veeqo/config.rb,
lib/veeqo/request.rb,
lib/veeqo/version.rb,
lib/veeqo/exception.rb,
lib/veeqo/connection.rb,
lib/veeqo/middleware/auth.rb,
lib/veeqo/resource_actions.rb,
lib/veeqo/resources/channel.rb,
lib/veeqo/resources/company.rb,
lib/veeqo/resources/product.rb,
lib/veeqo/resources/customer.rb,
lib/veeqo/resources/resource.rb,
lib/veeqo/resources/supplier.rb,
lib/veeqo/resources/warehouse.rb,
lib/veeqo/subresource_actions.rb,
lib/veeqo/resources/purchase_order.rb,
lib/veeqo/middleware/http_exception.rb,
lib/veeqo/resources/delivery_method.rb
Overview
DeliveryMethods Resources related to the DeliveryMethods in the API. developers.veeqo.com/docs/versions/1-0-0-beta/resources/delivery_methods
Defined Under Namespace
Modules: Connection, HttpErrors, Middleware Classes: BadGateway, BadRequest, BandwidthLimitExceeded, Channel, Company, Config, Customer, DeliveryMethod, Forbidden, GatewayTimeout, HttpError, InternalServerError, MethodNotAllowed, NotAccepted, NotFound, Order, PathBuilder, Product, PurchaseOrder, Request, Resource, ResourceActions, ResourceConflict, ServiceUnavailable, SubresourceActions, Supplier, TimeOut, TooManyRequests, Unauthorized, Warehouse
Constant Summary collapse
- VERSION =
'0.2.2'.freeze
Class Attribute Summary collapse
-
.api ⇒ Object
readonly
Returns the value of attribute api.
-
.config ⇒ Object
readonly
Returns the value of attribute config.
Class Method Summary collapse
Class Attribute Details
.api ⇒ Object (readonly)
Returns the value of attribute api.
19 20 21 |
# File 'lib/veeqo.rb', line 19 def api @api end |
.config ⇒ Object (readonly)
Returns the value of attribute config.
19 20 21 |
# File 'lib/veeqo.rb', line 19 def config @config end |
Class Method Details
.configure ⇒ Object
21 22 23 24 |
# File 'lib/veeqo.rb', line 21 def configure @config = Veeqo::Config.new.tap { |h| yield(h) } @api = Veeqo::Connection.build(@config) end |