Method: PulpContainerClient.configure
- Defined in:
- lib/pulp_container_client.rb
.configure ⇒ Object
Customize default settings for the SDK using block.
PulpContainerClient.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
107 108 109 110 111 112 113 |
# File 'lib/pulp_container_client.rb', line 107 def configure if block_given? yield(Configuration.default) else Configuration.default end end |