class GVIVE::Configuration

Attributes

api_key[RW]
base_url[RW]
driver_path[RW]
passport_path[RW]
username[RW]
voter_path[RW]

Public Class Methods

new() click to toggle source
# File lib/gvive/configuration.rb, line 5
def initialize
  @base_url       = 'https://gvivegh.com:1355/gvivewar' # GVIVE Base Endpoint
  @api_key        = ENV['GVIVE_API_KEY'] # GVIVE APIKey
  @username       = ENV['GVIVE_USERNAME'] # GVIVE Username
  @voter_path     = '/voter' # Voter ID Veriification path
  @passport_path  = '/passport' # Passport Veriification path
  @driver_path    = '/driver' # Driver License Veriification path
end