Module: Vend
- Defined in:
- lib/vend/resources/inventory.rb,
lib/vend.rb,
lib/vend/store.rb,
lib/vend/errors.rb,
lib/vend/version.rb,
lib/vend/resource.rb,
lib/vend/response.rb,
lib/vend/resources/tax.rb,
lib/vend/resources/sale.rb,
lib/vend/resources/user.rb,
lib/vend/remote_resource.rb,
lib/vend/resources/brand.rb,
lib/vend/resources/outlet.rb,
lib/vend/resources/contact.rb,
lib/vend/resources/product.rb,
lib/vend/resources/customer.rb,
lib/vend/resources/register.rb,
lib/vend/resources/supplier.rb,
lib/vend/resource_collection.rb,
lib/vend/resources/payment_type.rb,
lib/vend/resources/product_type.rb,
lib/vend/resources/price_book_entry.rb,
lib/vend/resources/register_sale_payment.rb,
lib/vend/resources/register_sale_product.rb
Overview
TODO: Implement the attribute declaration as a Proc to avoid this
Defined Under Namespace
Modules: Attributes, DeclarativeSetters, Finders, HasResources, Paths Classes: Brand, Contact, Customer, Error, Inventory, Outlet, PaymentType, PriceBookEntry, Product, ProductType, Register, RegisterSalePayment, RegisterSaleProduct, RemoteResource, Resource, ResourceCollection, Response, Sale, ServerError, Store, Supplier, Tax, Unauthorized, User, ValidationFailed
Constant Summary collapse
- VERSION =
"0.1.2"
Class Method Summary collapse
Class Method Details
.domain ⇒ Object
42 43 44 |
# File 'lib/vend.rb', line 42 def domain @domain || "vendhq.com" end |
.scheme ⇒ Object
38 39 40 |
# File 'lib/vend.rb', line 38 def scheme @scheme || "https" end |