Module: Veeqo
- Defined in:
- lib/veeqo/resources/tag.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/resources/order.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/shipment.rb,
lib/veeqo/resources/supplier.rb,
lib/veeqo/resources/warehouse.rb,
lib/veeqo/subresource_actions.rb,
lib/veeqo/resources/allocation.rb,
lib/veeqo/resources/stock_entry.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. docs.veeqo.apiary.io/#reference/delivery-methods/delivery-methods-collection/list-all-delivery-methods
Defined Under Namespace
Modules: Connection, HttpErrors, Middleware Classes: Allocation, BadGateway, BadRequest, BandwidthLimitExceeded, Channel, Company, Config, Customer, DeliveryMethod, Forbidden, GatewayTimeout, HttpError, InternalServerError, MethodNotAllowed, NotAccepted, NotFound, Order, PathBuilder, Product, PurchaseOrder, Request, Resource, ResourceActions, ResourceConflict, ServiceUnavailable, Shipment, StockEntry, SubresourceActions, Supplier, Tag, TimeOut, TooManyRequests, Unauthorized, Warehouse
Constant Summary collapse
- VERSION =
'0.3.0'.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.
20 21 22 |
# File 'lib/veeqo.rb', line 20 def api @api end |
.config ⇒ Object (readonly)
Returns the value of attribute config.
20 21 22 |
# File 'lib/veeqo.rb', line 20 def config @config end |
Class Method Details
.configure ⇒ Object
22 23 24 25 |
# File 'lib/veeqo.rb', line 22 def configure @config = Veeqo::Config.new.tap { |h| yield(h) } @api = Veeqo::Connection.build(@config) end |