Class: Idnow::Configuration
- Inherits:
-
Object
- Object
- Idnow::Configuration
- Defined in:
- lib/idnow/configuration.rb
Defined Under Namespace
Modules: Idnow
Instance Attribute Summary collapse
-
#api_key ⇒ Object
TODO: This class is not being used right now, but its aim is to be able for the developers using the gem to set its configuration with something like Idnow.config do |config| config.url = Idnow::TEST_SERVER config.env = :test config.company_id = company_id end.
-
#api_version ⇒ Object
Returns the value of attribute api_version.
-
#company_id ⇒ Object
Returns the value of attribute company_id.
-
#host ⇒ Object
Returns the value of attribute host.
Instance Attribute Details
#api_key ⇒ Object
TODO: This class is not being used right now, but its aim is to be able for the developers using the gem to set its configuration with something like Idnow.config do |config| config.url = Idnow::TEST_SERVER config.env = :test config.company_id = company_id end
12 13 14 |
# File 'lib/idnow/configuration.rb', line 12 def api_key @api_key end |
#api_version ⇒ Object
Returns the value of attribute api_version.
24 25 26 |
# File 'lib/idnow/configuration.rb', line 24 def api_version @api_version end |
#company_id ⇒ Object
Returns the value of attribute company_id.
14 15 16 |
# File 'lib/idnow/configuration.rb', line 14 def company_id @company_id end |
#host ⇒ Object
Returns the value of attribute host.
22 23 24 |
# File 'lib/idnow/configuration.rb', line 22 def host @host end |