Method: TransferZero.configure
- Defined in:
- lib/transferzero-sdk.rb
.configure ⇒ Object
Customize default settings for the SDK using block.
TransferZero.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
174 175 176 177 178 179 180 |
# File 'lib/transferzero-sdk.rb', line 174 def configure if block_given? yield(Configuration.default) else Configuration.default end end |