Class: Propono::Configuration
- Inherits:
-
Object
- Object
- Propono::Configuration
- Defined in:
- lib/propono/configuration.rb
Constant Summary collapse
- SETTINGS =
[ :use_iam_profile, :access_key, :secret_key, :queue_region, :queue_suffix, :application_name, :udp_host, :udp_port, :tcp_host, :tcp_port, :logger, :max_retries, :num_messages_per_poll ]
Instance Attribute Summary collapse
-
#queue_suffix ⇒ Object
readonly
Returns the value of attribute queue_suffix.
-
#use_iam_profile ⇒ Object
readonly
Returns the value of attribute use_iam_profile.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
18 19 20 21 22 23 24 |
# File 'lib/propono/configuration.rb', line 18 def initialize self.logger = Propono::Logger.new self.queue_suffix = "" self.use_iam_profile = false self.max_retries = 0 self. = 10 end |
Instance Attribute Details
#queue_suffix ⇒ Object (readonly)
Returns the value of attribute queue_suffix.
32 33 34 |
# File 'lib/propono/configuration.rb', line 32 def queue_suffix @queue_suffix end |
#use_iam_profile ⇒ Object (readonly)
Returns the value of attribute use_iam_profile.
32 33 34 |
# File 'lib/propono/configuration.rb', line 32 def use_iam_profile @use_iam_profile end |