Class: LearnosityUtils::Configuration
- Inherits:
-
Object
- Object
- LearnosityUtils::Configuration
- Defined in:
- lib/learnosity_utils/configuration.rb
Instance Attribute Summary collapse
-
#consumer_secret ⇒ Object
Returns the value of attribute consumer_secret.
-
#get_rate ⇒ Object
Returns the value of attribute get_rate.
-
#retry_delay ⇒ Object
Returns the value of attribute retry_delay.
-
#security_packet ⇒ Object
Returns the value of attribute security_packet.
-
#set_rate ⇒ Object
Returns the value of attribute set_rate.
-
#sort ⇒ Object
Returns the value of attribute sort.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 10 11 12 13 14 |
# File 'lib/learnosity_utils/configuration.rb', line 6 def initialize @get_rate = 6000 @set_rate = 300 @sort = 'asc' @retry_delay = 5 @consumer_secret = nil @security_packet = nil @version = '2019.1.LTS' end |
Instance Attribute Details
#consumer_secret ⇒ Object
Returns the value of attribute consumer_secret.
3 4 5 |
# File 'lib/learnosity_utils/configuration.rb', line 3 def consumer_secret @consumer_secret end |
#get_rate ⇒ Object
Returns the value of attribute get_rate.
3 4 5 |
# File 'lib/learnosity_utils/configuration.rb', line 3 def get_rate @get_rate end |
#retry_delay ⇒ Object
Returns the value of attribute retry_delay.
3 4 5 |
# File 'lib/learnosity_utils/configuration.rb', line 3 def retry_delay @retry_delay end |
#security_packet ⇒ Object
Returns the value of attribute security_packet.
3 4 5 |
# File 'lib/learnosity_utils/configuration.rb', line 3 def security_packet @security_packet end |
#set_rate ⇒ Object
Returns the value of attribute set_rate.
3 4 5 |
# File 'lib/learnosity_utils/configuration.rb', line 3 def set_rate @set_rate end |
#sort ⇒ Object
Returns the value of attribute sort.
3 4 5 |
# File 'lib/learnosity_utils/configuration.rb', line 3 def sort @sort end |
#version ⇒ Object
Returns the value of attribute version.
3 4 5 |
# File 'lib/learnosity_utils/configuration.rb', line 3 def version @version end |