Module: BancoBrasilStatements
- Defined in:
- lib/bb_statements.rb,
lib/bb_statements/version.rb,
lib/bb_statements/api_error.rb,
lib/bb_statements/api_client.rb,
lib/bb_statements/configuration.rb,
lib/bb_statements/api/statements_api.rb
Defined Under Namespace
Classes: ApiClient, ApiError, Configuration, StatementsApi
Constant Summary collapse
- VERSION =
"0.1.1"
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.
BancoBrasilStatements.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
18 19 20 21 22 23 24 |
# File 'lib/bb_statements.rb', line 18 def configure if block_given? yield(Configuration.default) else Configuration.default end end |