Class: Idnow::Configuration

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

Defined Under Namespace

Modules: Idnow

Instance Attribute Summary collapse

Instance Attribute Details

#api_keyObject

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



11
12
13
# File 'lib/idnow/configuration.rb', line 11

def api_key
  @api_key
end

#api_versionObject

Returns the value of attribute api_version.



23
24
25
# File 'lib/idnow/configuration.rb', line 23

def api_version
  @api_version
end

#company_idObject

Returns the value of attribute company_id.



13
14
15
# File 'lib/idnow/configuration.rb', line 13

def company_id
  @company_id
end

#hostObject

Returns the value of attribute host.



21
22
23
# File 'lib/idnow/configuration.rb', line 21

def host
  @host
end