Class: Tracksale::Configuration
- Inherits:
-
Object
- Object
- Tracksale::Configuration
- Defined in:
- lib/tracksale/configuration.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
-
#key ⇒ Object
Returns the value of attribute key.
Instance Method Summary collapse
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
4 5 6 |
# File 'lib/tracksale/configuration.rb', line 4 def client @client end |
#key ⇒ Object
Returns the value of attribute key.
3 4 5 |
# File 'lib/tracksale/configuration.rb', line 3 def key @key end |
Instance Method Details
#force_dummy_client(on = true) ⇒ Object
10 11 12 13 14 |
# File 'lib/tracksale/configuration.rb', line 10 def force_dummy_client(on = true) @client = on ? Tracksale::DummyClient : Tracksale::Client end |