Module: Beanie
- Defined in:
- lib/beanie/version.rb,
lib/beanie.rb,
lib/beanie/api_error.rb,
lib/beanie/api_client.rb,
lib/beanie/configuration.rb,
lib/beanie/models/error_model.rb,
lib/beanie/models/bank_account.rb,
lib/beanie/api/bank_account_api.rb,
lib/beanie/models/bank_account_input.rb
Overview
#Beanie ERP API
#An API specification for interacting with the Beanie ERP system
OpenAPI spec version: 0.1 Contact: [email protected] Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.0-SNAPSHOT
Defined Under Namespace
Classes: ApiClient, ApiError, BankAccount, BankAccountApi, BankAccountInput, Configuration, ErrorModel
Constant Summary collapse
- VERSION =
'0.2.0'
Class Method Summary collapse
-
.configure ⇒ Object
Customize default settings for the SDK using block.
Class Method Details
.configure ⇒ Object
Customize default settings for the SDK using block.
Beanie.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
35 36 37 38 39 40 41 |
# File 'lib/beanie.rb', line 35 def configure if block_given? yield(Configuration.default) else Configuration.default end end |