Module: DearInventoryRuby

Defined in:
lib/dear-inventory-ruby/version.rb,
lib/dear-inventory-ruby.rb,
lib/dear-inventory-ruby/api_error.rb,
lib/dear-inventory-ruby/models/me.rb,
lib/dear-inventory-ruby/api_client.rb,
lib/dear-inventory-ruby/models/bin.rb,
lib/dear-inventory-ruby/models/tax.rb,
lib/dear-inventory-ruby/models/sale.rb,
lib/dear-inventory-ruby/models/error.rb,
lib/dear-inventory-ruby/models/taxes.rb,
lib/dear-inventory-ruby/configuration.rb,
lib/dear-inventory-ruby/models/account.rb,
lib/dear-inventory-ruby/models/address.rb,
lib/dear-inventory-ruby/models/carrier.rb,
lib/dear-inventory-ruby/models/contact.rb,
lib/dear-inventory-ruby/models/success.rb,
lib/dear-inventory-ruby/models/webhook.rb,
lib/dear-inventory-ruby/models/accounts.rb,
lib/dear-inventory-ruby/models/carriers.rb,
lib/dear-inventory-ruby/models/customer.rb,
lib/dear-inventory-ruby/models/location.rb,
lib/dear-inventory-ruby/models/webhooks.rb,
lib/dear-inventory-ruby/models/customers.rb,
lib/dear-inventory-ruby/models/locations.rb,
lib/dear-inventory-ruby/models/sale_item.rb,
lib/dear-inventory-ruby/models/sale_list.rb,
lib/dear-inventory-ruby/api/inventory_api.rb,
lib/dear-inventory-ruby/models/me_contact.rb,
lib/dear-inventory-ruby/models/price_tier.rb,
lib/dear-inventory-ruby/models/sale_order.rb,
lib/dear-inventory-ruby/models/sale_quote.rb,
lib/dear-inventory-ruby/models/me_contacts.rb,
lib/dear-inventory-ruby/models/price_tiers.rb,
lib/dear-inventory-ruby/models/payment_term.rb,
lib/dear-inventory-ruby/models/sale_invoice.rb,
lib/dear-inventory-ruby/models/sale_payment.rb,
lib/dear-inventory-ruby/models/webhook_type.rb,
lib/dear-inventory-ruby/models/payment_terms.rb,
lib/dear-inventory-ruby/models/sale_invoices.rb,
lib/dear-inventory-ruby/models/tax_component.rb,
lib/dear-inventory-ruby/models/attachment_line.rb,
lib/dear-inventory-ruby/models/external_header.rb,
lib/dear-inventory-ruby/models/sale_order_line.rb,
lib/dear-inventory-ruby/models/sale_quote_line.rb,
lib/dear-inventory-ruby/models/shipping_address.rb,
lib/dear-inventory-ruby/models/sale_invoice_line.rb,
lib/dear-inventory-ruby/models/sale_invoice_post.rb,
lib/dear-inventory-ruby/models/sale_payment_line.rb,
lib/dear-inventory-ruby/models/authorization_type.rb,
lib/dear-inventory-ruby/models/sale_invoice_delete.rb,
lib/dear-inventory-ruby/models/sale_invoice_partial.rb,
lib/dear-inventory-ruby/models/sale_additional_charge.rb,
lib/dear-inventory-ruby/models/supplier_customer_address.rb,
lib/dear-inventory-ruby/models/sale_invoice_additional_charge.rb

Overview

#DEAR Inventory API

#This specifing endpoints for DEAR Inventory API

The version of the OpenAPI document: 2.0.0 Contact: [email protected] Generated by: openapi-generator.tech OpenAPI Generator version: 4.3.1

Defined Under Namespace

Classes: Account, Accounts, Address, ApiClient, ApiError, AttachmentLine, AuthorizationType, Bin, Carrier, Carriers, Configuration, Contact, Customer, Customers, Error, ExternalHeader, InventoryApi, Location, Locations, Me, MeContact, MeContacts, PaymentTerm, PaymentTerms, PriceTier, PriceTiers, Sale, SaleAdditionalCharge, SaleInvoice, SaleInvoiceAdditionalCharge, SaleInvoiceDelete, SaleInvoiceLine, SaleInvoicePartial, SaleInvoicePost, SaleInvoices, SaleItem, SaleList, SaleOrder, SaleOrderLine, SalePayment, SalePaymentLine, SaleQuote, SaleQuoteLine, ShippingAddress, Success, SupplierCustomerAddress, Tax, TaxComponent, Taxes, Webhook, WebhookType, Webhooks

Constant Summary collapse

VERSION =
'0.2.11'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

DearInventoryRuby.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



80
81
82
83
84
85
86
# File 'lib/dear-inventory-ruby.rb', line 80

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end