Class: Trulioo::Settings
- Inherits:
-
Object
- Object
- Trulioo::Settings
- Defined in:
- lib/trulioo/settings.rb
Overview
Trulioo::Settings holds the variables used to connect to Trulioo’s servers.
Instance Attribute Summary collapse
-
#api_version ⇒ Object
Returns the value of attribute api_version.
-
#base_uri ⇒ Object
Returns the value of attribute base_uri.
-
#password ⇒ Object
Returns the value of attribute password.
-
#url ⇒ Object
Returns the value of attribute url.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize ⇒ Settings
constructor
A new instance of Settings.
Constructor Details
#initialize ⇒ Settings
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_version ⇒ Object
Returns the value of attribute api_version.
6 7 8 |
# File 'lib/trulioo/settings.rb', line 6 def api_version @api_version end |
#base_uri ⇒ Object
Returns the value of attribute base_uri.
6 7 8 |
# File 'lib/trulioo/settings.rb', line 6 def base_uri @base_uri end |
#password ⇒ Object
Returns the value of attribute password.
6 7 8 |
# File 'lib/trulioo/settings.rb', line 6 def password @password end |
#url ⇒ Object
Returns the value of attribute url.
6 7 8 |
# File 'lib/trulioo/settings.rb', line 6 def url @url end |
#username ⇒ Object
Returns the value of attribute username.
6 7 8 |
# File 'lib/trulioo/settings.rb', line 6 def username @username end |