Class: Paddle::Classic::Resource
- Inherits:
-
Object
- Object
- Paddle::Classic::Resource
- Defined in:
- lib/paddle/classic/resource.rb
Direct Known Subclasses
ChargesResource, CouponsResource, LicensesResource, ModifiersResource, PayLinksResource, PaymentsResource, PlansResource, ProductsResource, TransactionsResource, UsersResource, WebhooksResource
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(client) ⇒ Resource
constructor
A new instance of Resource.
Constructor Details
#initialize(client) ⇒ Resource
Returns a new instance of Resource.
6 7 8 |
# File 'lib/paddle/classic/resource.rb', line 6 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
4 5 6 |
# File 'lib/paddle/classic/resource.rb', line 4 def client @client end |