Method: Propono::Client#aws_client

Defined in:
lib/propono/components/client.rb

#aws_clientObject (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:

  1. As options passed to new as a hash.

Propono::Client.new(application_name: 'my-application')
  1. As options passed to new using a block.

Propono::Client.new do |config"
  config.application_name: 'my-application'
end
  1. 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