Class: Polar::Resources::Base
- Inherits:
-
Object
- Object
- Polar::Resources::Base
- Defined in:
- lib/polar/resources/base.rb
Direct Known Subclasses
CustomerPortal::BenefitGrants, CustomerPortal::Customers, CustomerPortal::LicenseKeys, CustomerPortal::Orders, CustomerPortal::Subscriptions, Benefits, Checkouts, Customers, Events, Files, LicenseKeys, Metrics, OAuth2, Orders, Organizations, Payments, Products, Subscriptions, Webhooks
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(client) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(client) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/polar/resources/base.rb', line 8 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
6 7 8 |
# File 'lib/polar/resources/base.rb', line 6 def client @client end |