Module: Vpsa
- Extended by:
- ClassMethods
- Defined in:
- lib/vpsa.rb,
lib/vpsa/client.rb,
lib/vpsa/version.rb,
lib/vpsa/api/orders.rb,
lib/vpsa/api/sellers.rb,
lib/vpsa/entity/base.rb,
lib/vpsa/api/entities.rb,
lib/vpsa/api/products.rb,
lib/vpsa/api/receipts.rb,
lib/vpsa/api/companies.rb,
lib/vpsa/api/user_data.rb,
lib/vpsa/searcher/base.rb,
lib/vpsa/api/provisions.rb,
lib/vpsa/init_from_hash.rb,
lib/vpsa/api/installments.rb,
lib/vpsa/api/credit_limits.rb,
lib/vpsa/api/sales_history.rb,
lib/vpsa/api/third_parties.rb,
lib/vpsa/api/client_classes.rb,
lib/vpsa/api/category_levels.rb,
lib/vpsa/api/default_entries.rb,
lib/vpsa/api/payment_conditions.rb,
lib/vpsa/api/product_categories.rb,
lib/vpsa/entity/commercial/item.rb,
lib/vpsa/entity/commercial/order.rb,
lib/vpsa/entity/commercial/product.rb,
lib/vpsa/entity/administrative/phone.rb,
lib/vpsa/entity/administrative/address.rb,
lib/vpsa/entity/commercial/installment.rb,
lib/vpsa/entity/commercial/credit_limit.rb,
lib/vpsa/entity/administrative/third_party.rb,
lib/vpsa/entity/operational/category_level.rb,
lib/vpsa/entity/operational/product_category.rb,
lib/vpsa/searcher/financial/receipt_searcher.rb,
lib/vpsa/searcher/operational/order_searcher.rb,
lib/vpsa/searcher/operational/seller_searcher.rb,
lib/vpsa/searcher/administrative/entity_searcher.rb,
lib/vpsa/searcher/administrative/company_searcher.rb,
lib/vpsa/searcher/commercial/credit_limit_searcher.rb,
lib/vpsa/searcher/financial/default_entry_searcher.rb,
lib/vpsa/searcher/operational/client_class_searcher.rb,
lib/vpsa/searcher/administrative/third_party_searcher.rb,
lib/vpsa/searcher/financial/payment_condition_searcher.rb
Defined Under Namespace
Modules: Api, ClassMethods, Entity, InitFromHash, Searcher
Classes: Client
Constant Summary
collapse
- LIBNAME =
'vpsa'
- LIBDIR =
File.expand_path("../#{LIBNAME}", __FILE__)
- API_ADDRESS =
"https://www.vpsa.com.br/apps/api"
- VERSION =
"0.0.29"
Class Method Summary
collapse
require_all
Class Method Details
.included(base) ⇒ Object
11
12
13
|
# File 'lib/vpsa.rb', line 11
def included(base)
base.extend ClassMethods
end
|
.new(access_token) ⇒ Object
15
16
17
|
# File 'lib/vpsa.rb', line 15
def new(access_token)
Client.new(access_token)
end
|