Class: Trulioo::Settings

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

Overview

Trulioo::Settings holds the variables used to connect to Trulioo’s servers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSettings

Returns a new instance of Settings.



8
9
10
11
# File 'lib/trulioo/settings.rb', line 8

def initialize
  @api_version = 'v1'
  @base_uri = 'https://api.globaldatacompany.com'
end

Instance Attribute Details

#api_versionObject

Returns the value of attribute api_version.



6
7
8
# File 'lib/trulioo/settings.rb', line 6

def api_version
  @api_version
end

#base_uriObject

Returns the value of attribute base_uri.



6
7
8
# File 'lib/trulioo/settings.rb', line 6

def base_uri
  @base_uri
end

#passwordObject

Returns the value of attribute password.



6
7
8
# File 'lib/trulioo/settings.rb', line 6

def password
  @password
end

#urlObject

Returns the value of attribute url.



6
7
8
# File 'lib/trulioo/settings.rb', line 6

def url
  @url
end

#usernameObject

Returns the value of attribute username.



6
7
8
# File 'lib/trulioo/settings.rb', line 6

def username
  @username
end