Class: DomoscioRails::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/domoscio_rails.rb

Overview

Configurable attributes and default values

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



59
60
61
62
63
# File 'lib/domoscio_rails.rb', line 59

def initialize
  @version = 2
  @root_url = ''
  @file_storage ||= true
end

Instance Attribute Details

#access_tokenObject

Returns the value of attribute access_token.



56
57
58
# File 'lib/domoscio_rails.rb', line 56

def access_token
  @access_token
end

#client_idObject

Returns the value of attribute client_id.



56
57
58
# File 'lib/domoscio_rails.rb', line 56

def client_id
  @client_id
end

#client_passphraseObject

Returns the value of attribute client_passphrase.



56
57
58
# File 'lib/domoscio_rails.rb', line 56

def client_passphrase
  @client_passphrase
end

#file_storageObject

Returns the value of attribute file_storage.



56
57
58
# File 'lib/domoscio_rails.rb', line 56

def file_storage
  @file_storage
end

#refresh_tokenObject

Returns the value of attribute refresh_token.



56
57
58
# File 'lib/domoscio_rails.rb', line 56

def refresh_token
  @refresh_token
end

#root_urlObject

Returns the value of attribute root_url.



56
57
58
# File 'lib/domoscio_rails.rb', line 56

def root_url
  @root_url
end

#temp_dirObject

Returns the value of attribute temp_dir.



56
57
58
# File 'lib/domoscio_rails.rb', line 56

def temp_dir
  @temp_dir
end

#versionObject

Returns the value of attribute version.



56
57
58
# File 'lib/domoscio_rails.rb', line 56

def version
  @version
end