Class: Flurry::Configuration
- Inherits:
-
Object
- Object
- Flurry::Configuration
- Defined in:
- lib/flurry/configuration.rb
Overview
Contains all the configuration for the gem
Instance Attribute Summary collapse
-
#format ⇒ Object
Returns the value of attribute format.
-
#time_zone ⇒ Object
Returns the value of attribute time_zone.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
-
#token ⇒ Object
Returns the value of attribute token.
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 |
# File 'lib/flurry/configuration.rb', line 6 def initialize @token = nil @time_zone = nil @format = nil @timeout = nil end |
Instance Attribute Details
#format ⇒ Object
Returns the value of attribute format.
4 5 6 |
# File 'lib/flurry/configuration.rb', line 4 def format @format end |
#time_zone ⇒ Object
Returns the value of attribute time_zone.
4 5 6 |
# File 'lib/flurry/configuration.rb', line 4 def time_zone @time_zone end |
#timeout ⇒ Object
Returns the value of attribute timeout.
4 5 6 |
# File 'lib/flurry/configuration.rb', line 4 def timeout @timeout end |
#token ⇒ Object
Returns the value of attribute token.
4 5 6 |
# File 'lib/flurry/configuration.rb', line 4 def token @token end |