Method: Propono::Client#aws_client
- Defined in:
- lib/propono/components/client.rb
#aws_client ⇒ Object (readonly)
Propono configuration.
Settings should be set in an initializer or using some other method that ensures they are set before any Propono code is used.
They can be set in one of the following ways:
-
As options passed to
newas a hash.
Propono::Client.new(application_name: 'my-application')
-
As options passed to
newusing a block.
Propono::Client.new do |config"
config.application_name: 'my-application'
end
-
By calling the
Propono::Client#configure.
client.configure do |config|
config.access_key = "my-access-key"
end
27 28 29 |
# File 'lib/propono/components/client.rb', line 27 def aws_client @aws_client end |