Class: Anypost::Resources::Base Private
- Inherits:
-
Object
- Object
- Anypost::Resources::Base
- Defined in:
- lib/anypost/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.
Shared base for the API resources: holds the transport, wraps decoded object responses as Anypost::Response instances, and builds Pages.
Direct Known Subclasses
ApiKeys, Domains, Email, Events, Identity, Suppressions, Templates, Webhooks
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.
12 13 14 |
# File 'lib/anypost/resources/base.rb', line 12 def initialize(http) @http = http end |