Class: QuizBrokerClient::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_nameObject

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
  @authorized_contexts_table_name
end

#dynamo_endpointObject

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

#ttlObject

Returns the value of attribute ttl.



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

def ttl
  @ttl
end