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.



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_tokenObject

Returns the value of attribute access_token.



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

def access_token
  @access_token
end

#client_idObject

Returns the value of attribute client_id.



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

def client_id
  @client_id
end

#client_passphraseObject

Returns the value of attribute client_passphrase.



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

def client_passphrase
  @client_passphrase
end

#file_storageObject

Returns the value of attribute file_storage.



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

def file_storage
  @file_storage
end

#refresh_tokenObject

Returns the value of attribute refresh_token.



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

def refresh_token
  @refresh_token
end

#root_urlObject

Returns the value of attribute root_url.



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

def root_url
  @root_url
end

#temp_dirObject

Returns the value of attribute temp_dir.



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

def temp_dir
  @temp_dir
end

#versionObject

Returns the value of attribute version.



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

def version
  @version
end