Class: Paysafe::Api::BaseApi
- Inherits:
-
Object
- Object
- Paysafe::Api::BaseApi
- Defined in:
- lib/paysafe/api/base_api.rb
Direct Known Subclasses
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
-
#initialize(config) ⇒ BaseApi
constructor
A new instance of BaseApi.
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 |