Class: QuizBrokerClient::Configuration
- Inherits:
-
Object
- Object
- QuizBrokerClient::Configuration
- Defined in:
- lib/quiz_broker_client/configuration.rb
Instance Attribute Summary collapse
-
#authorized_contexts_table_name ⇒ Object
Returns the value of attribute authorized_contexts_table_name.
-
#dynamo_endpoint ⇒ Object
Returns the value of attribute dynamo_endpoint.
-
#ttl ⇒ Object
Returns the value of attribute ttl.
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 |
# File 'lib/quiz_broker_client/configuration.rb', line 5 def initialize @ttl = 43_200 # 12 hours end |
Instance Attribute Details
#authorized_contexts_table_name ⇒ Object
Returns the value of attribute authorized_contexts_table_name.
3 4 5 |
# File 'lib/quiz_broker_client/configuration.rb', line 3 def @authorized_contexts_table_name end |
#dynamo_endpoint ⇒ Object
Returns the value of attribute dynamo_endpoint.
3 4 5 |
# File 'lib/quiz_broker_client/configuration.rb', line 3 def dynamo_endpoint @dynamo_endpoint end |
#ttl ⇒ Object
Returns the value of attribute ttl.
3 4 5 |
# File 'lib/quiz_broker_client/configuration.rb', line 3 def ttl @ttl end |