Class: SimpleMessageQueue::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/simple_message_queue/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_idObject

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

#debugObject

Returns the value of attribute debug.



3
4
5
# File 'lib/simple_message_queue/configuration.rb', line 3

def debug
  @debug
end

#environmentObject

Returns the value of attribute environment.



3
4
5
# File 'lib/simple_message_queue/configuration.rb', line 3

def environment
  @environment
end

#idle_timeoutObject

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

#loggerObject

Returns the value of attribute logger.



3
4
5
# File 'lib/simple_message_queue/configuration.rb', line 3

def logger
  @logger
end

#secret_access_keyObject

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_prefixObject

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_notificationsObject

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_secondsObject

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