Class: Boldsign::Resource
- Inherits:
-
Object
- Object
- Boldsign::Resource
- Defined in:
- lib/boldsign/resource.rb
Overview
Base class for all resource wrappers. Holds a reference to the Client instance whose HTTP verb methods the resource methods delegate to.
Direct Known Subclasses
Boldsign::Resources::Brand, Boldsign::Resources::Contact, Boldsign::Resources::ContactGroup, Boldsign::Resources::CustomField, Boldsign::Resources::Document, Boldsign::Resources::IdentityVerification, Boldsign::Resources::Plan, Boldsign::Resources::SenderIdentity, Boldsign::Resources::Team, Boldsign::Resources::Template, Boldsign::Resources::User
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/boldsign/resource.rb', line 6 def initialize(client) @client = client end |