Class: Xero::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#consumer_keyObject

Returns the value of attribute consumer_key.



4
5
6
# File 'lib/xero/configuration.rb', line 4

def consumer_key
  @consumer_key
end

#consumer_secretObject

Returns the value of attribute consumer_secret.



4
5
6
# File 'lib/xero/configuration.rb', line 4

def consumer_secret
  @consumer_secret
end

#loggerObject

Returns the value of attribute logger.



4
5
6
# File 'lib/xero/configuration.rb', line 4

def logger
  @logger
end

#private_key_pathObject

Returns the value of attribute private_key_path.



4
5
6
# File 'lib/xero/configuration.rb', line 4

def private_key_path
  @private_key_path
end

Instance Method Details

#xero_urlObject



10
11
12
# File 'lib/xero/configuration.rb', line 10

def xero_url
  'https://api.xero.com/api.xro/2.0'
end