Method: PureCloud.configure
- Defined in:
- lib/purecloud.rb
.configure ⇒ Object
Customize default settings for the SDK using block.
PureCloud.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
826 827 828 829 830 831 832 |
# File 'lib/purecloud.rb', line 826 def configure if block_given? yield(Configuration.default) else Configuration.default end end |