Method: Kickflow.configure

Defined in:
lib/kickflow.rb

.configureObject

Customize default settings for the SDK using block.

Kickflow.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



153
154
155
156
157
158
159
# File 'lib/kickflow.rb', line 153

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end