Sha256: 08eb7af6e50953802137c6d9ce056da383ee2bf92faa97a23bf54c152c7d3f7d

Contents?: true

Size: 700 Bytes

Versions: 1

Compression:

Stored size: 700 Bytes

Contents

require 'faraday_middleware'
require 'json'
require 'active_support/core_ext/hash/indifferent_access'

require "kalixa_api/version"

require 'kalixa_api/v3/http_service'
require 'kalixa_api/v4/http_service'
require 'kalixa_api/v4/merchant'


module KalixaApi
  class << self
    attr_accessor :kalixa_api_user, :kalixa_api_password, :test_kalixa_api_user, :test_kalixa_api_password, :api_test_mode
  end

  self.kalixa_api_user ||= ENV['KALIXA_API_USER']
  self.kalixa_api_password ||= ENV['KALIXA_API_PASSWORD']

  self.test_kalixa_api_user ||= ENV['TEST_KALIXA_API_USER']
  self.test_kalixa_api_password ||= ENV['TEST_KALIXA_API_PASSWORD']

  self.api_test_mode ||= ENV['KALIXA_API_TEST_MODE']
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kalixa_api-0.1.0 lib/kalixa_api.rb