Class: Openpix::RubySdk::Client
- Inherits:
-
Object
- Object
- Openpix::RubySdk::Client
- Defined in:
- lib/openpix/ruby_sdk/client.rb
Overview
Entrypoint class, expect to access resources and other classes just from this class
Constant Summary collapse
- RESOURCES =
%w[ Charge Customer Payment Refund Subscription Webhook ].freeze
Instance Method Summary collapse
-
#initialize(auth_token) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(auth_token) ⇒ Client
Returns a new instance of Client.
22 23 24 25 26 |
# File 'lib/openpix/ruby_sdk/client.rb', line 22 def initialize(auth_token) @auth_token = auth_token init_http_client end |