Module: MyERP
- Defined in:
- lib/myerp_api.rb,
lib/myerp/base.rb,
lib/myerp/crud.rb,
lib/myerp/item.rb,
lib/myerp/model.rb,
lib/myerp/errors.rb,
lib/myerp/vendor.rb,
lib/myerp/account.rb,
lib/myerp/contact.rb,
lib/myerp/project.rb,
lib/myerp/api/base.rb,
lib/myerp/currency.rb,
lib/myerp/customer.rb,
lib/myerp/api/items.rb,
lib/myerp/api/vendors.rb,
lib/myerp/credentials.rb,
lib/myerp/item_family.rb,
lib/myerp/sales_order.rb,
lib/myerp/transaction.rb,
lib/myerp/api/accounts.rb,
lib/myerp/api/projects.rb,
lib/myerp/payment_term.rb,
lib/myerp/api/customers.rb,
lib/myerp/api/currencies.rb,
lib/myerp/api/sales_orders.rb,
lib/myerp/api/transactions.rb,
lib/myerp/api/item_families.rb,
lib/myerp/api/payment_terms.rb
Defined Under Namespace
Modules: API, Crud, Model Classes: Account, AuthenticationFailed, BadRequest, Base, Contact, Credentials, Currency, Customer, HTTPError, InvalidCredentials, Item, ItemFamily, NotFound, PaymentTerm, Project, RateLimited, SalesOrder, ServerError, Transaction, UnprocessableEntity, Vendor
Constant Summary collapse
- VERSION =
File.read(File.(File.join(File.dirname(__FILE__), '..', 'VERSION'))).strip
Class Method Summary collapse
Class Method Details
.client(api_email, api_key, options = {}) ⇒ Object
26 27 28 |
# File 'lib/myerp_api.rb', line 26 def client(api_email, api_key, = {}) MyERP::Base.new(api_email, api_key, ) end |