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



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

def api_key
  @api_key
end

#api_versionObject

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



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

def api_version
  @api_version
end

#company_idObject

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



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

def company_id
  @company_id
end

#hostObject

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



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

def host
  @host
end