Class: Paysafe::Api::BaseApi

Inherits:
Object
  • Object
show all
Defined in:
lib/paysafe/api/base_api.rb

Direct Known Subclasses

CardPaymentsApi, CustomerVaultApi, PaymentsApi

Constant Summary collapse

HEADERS =
{
  'Content-Type' => 'application/json',
  'User-Agent' => "PaysafeRubyGem/#{Paysafe::VERSION}",
  'X-Ruby-Version' => RUBY_VERSION,
  'X-Ruby-Platform' => RUBY_PLATFORM
}

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ BaseApi

Returns a new instance of BaseApi.



14
15
16
# File 'lib/paysafe/api/base_api.rb', line 14

def initialize(config)
  @config = config
end