Class: SimpleMessageQueue::Configuration
- Inherits:
-
Object
- Object
- SimpleMessageQueue::Configuration
- Defined in:
- lib/simple_message_queue/configuration.rb
Instance Attribute Summary collapse
-
#access_key_id ⇒ Object
Returns the value of attribute access_key_id.
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#idle_timeout ⇒ Object
Returns the value of attribute idle_timeout.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#secret_access_key ⇒ Object
Returns the value of attribute secret_access_key.
-
#sns_notification_prefix ⇒ Object
Returns the value of attribute sns_notification_prefix.
-
#sns_notifications ⇒ Object
Returns the value of attribute sns_notifications.
-
#wait_time_seconds ⇒ Object
Returns the value of attribute wait_time_seconds.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/simple_message_queue/configuration.rb', line 5 def initialize @access_key_id = nil @secret_access_key = nil @logger = nil @idle_timeout = 10 @wait_time_seconds = 20 @environment = nil @sns_notifications = false @sns_notification_prefix = nil @debug = false end |
Instance Attribute Details
#access_key_id ⇒ Object
Returns the value of attribute access_key_id.
3 4 5 |
# File 'lib/simple_message_queue/configuration.rb', line 3 def access_key_id @access_key_id end |
#debug ⇒ Object
Returns the value of attribute debug.
3 4 5 |
# File 'lib/simple_message_queue/configuration.rb', line 3 def debug @debug end |
#environment ⇒ Object
Returns the value of attribute environment.
3 4 5 |
# File 'lib/simple_message_queue/configuration.rb', line 3 def environment @environment end |
#idle_timeout ⇒ Object
Returns the value of attribute idle_timeout.
3 4 5 |
# File 'lib/simple_message_queue/configuration.rb', line 3 def idle_timeout @idle_timeout end |
#logger ⇒ Object
Returns the value of attribute logger.
3 4 5 |
# File 'lib/simple_message_queue/configuration.rb', line 3 def logger @logger end |
#secret_access_key ⇒ Object
Returns the value of attribute secret_access_key.
3 4 5 |
# File 'lib/simple_message_queue/configuration.rb', line 3 def secret_access_key @secret_access_key end |
#sns_notification_prefix ⇒ Object
Returns the value of attribute sns_notification_prefix.
3 4 5 |
# File 'lib/simple_message_queue/configuration.rb', line 3 def sns_notification_prefix @sns_notification_prefix end |
#sns_notifications ⇒ Object
Returns the value of attribute sns_notifications.
3 4 5 |
# File 'lib/simple_message_queue/configuration.rb', line 3 def sns_notifications @sns_notifications end |
#wait_time_seconds ⇒ Object
Returns the value of attribute wait_time_seconds.
3 4 5 |
# File 'lib/simple_message_queue/configuration.rb', line 3 def wait_time_seconds @wait_time_seconds end |