Class: EasyLabs::Resources::Base Private
- Inherits:
-
Object
- Object
- EasyLabs::Resources::Base
- Defined in:
- lib/easylabs/resources/base.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Base class every resource inherits from. Holds a reference to the client’s HTTP wrapper and exposes a thin ‘request` helper.
Direct Known Subclasses
Analytics, Authorizations, Checkout, ComplianceForms, Coupons, Customers, Disputes, DunningConfig, EmbeddedCheckout, Invoices, Orders, PaymentInstruments, PaymentLinks, ProductPrices, Products, PromotionCodes, RevenueRecoveryAutomations, Settlements, Subscriptions, Transfers, WebhooksManagement
Instance Method Summary collapse
-
#initialize(http) ⇒ Base
constructor
private
A new instance of Base.
Constructor Details
#initialize(http) ⇒ Base
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Base.
10 11 12 |
# File 'lib/easylabs/resources/base.rb', line 10 def initialize(http) @http = http end |