Class: DomoscioRails::Configuration
- Inherits:
-
Object
- Object
- DomoscioRails::Configuration
- Defined in:
- lib/domoscio_rails.rb
Overview
Configurable attributes and default values
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_passphrase ⇒ Object
Returns the value of attribute client_passphrase.
-
#file_storage ⇒ Object
Returns the value of attribute file_storage.
-
#refresh_token ⇒ Object
Returns the value of attribute refresh_token.
-
#root_url ⇒ Object
Returns the value of attribute root_url.
-
#temp_dir ⇒ Object
Returns the value of attribute temp_dir.
-
#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.
64 65 66 67 68 |
# File 'lib/domoscio_rails.rb', line 64 def initialize @version = 2 @root_url = '' @file_storage ||= true end |
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
61 62 63 |
# File 'lib/domoscio_rails.rb', line 61 def access_token @access_token end |
#client_id ⇒ Object
Returns the value of attribute client_id.
61 62 63 |
# File 'lib/domoscio_rails.rb', line 61 def client_id @client_id end |
#client_passphrase ⇒ Object
Returns the value of attribute client_passphrase.
61 62 63 |
# File 'lib/domoscio_rails.rb', line 61 def client_passphrase @client_passphrase end |
#file_storage ⇒ Object
Returns the value of attribute file_storage.
61 62 63 |
# File 'lib/domoscio_rails.rb', line 61 def file_storage @file_storage end |
#refresh_token ⇒ Object
Returns the value of attribute refresh_token.
61 62 63 |
# File 'lib/domoscio_rails.rb', line 61 def refresh_token @refresh_token end |
#root_url ⇒ Object
Returns the value of attribute root_url.
61 62 63 |
# File 'lib/domoscio_rails.rb', line 61 def root_url @root_url end |
#temp_dir ⇒ Object
Returns the value of attribute temp_dir.
61 62 63 |
# File 'lib/domoscio_rails.rb', line 61 def temp_dir @temp_dir end |
#version ⇒ Object
Returns the value of attribute version.
61 62 63 |
# File 'lib/domoscio_rails.rb', line 61 def version @version end |