Class: Closeio::Rails::Configuration
- Inherits:
-
Object
- Object
- Closeio::Rails::Configuration
- Defined in:
- lib/closeio/rails.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#verbose ⇒ Object
Returns the value of attribute verbose.
Instance Method Summary collapse
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
18 19 20 |
# File 'lib/closeio/rails.rb', line 18 def api_key @api_key end |
#client ⇒ Object (readonly)
Returns the value of attribute client.
19 20 21 |
# File 'lib/closeio/rails.rb', line 19 def client @client end |
#verbose ⇒ Object
Returns the value of attribute verbose.
18 19 20 |
# File 'lib/closeio/rails.rb', line 18 def verbose @verbose end |
Instance Method Details
#configure_connection ⇒ Object
21 22 23 24 |
# File 'lib/closeio/rails.rb', line 21 def configure_connection @verbose ||= false @client = Closeio::Client.new(@api_key, @verbose, nil, true) end |