Class: Boldsign::Resource

Inherits:
Object
  • Object
show all
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.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Resource

Returns a new instance of Resource.

Parameters:



6
7
8
# File 'lib/boldsign/resource.rb', line 6

def initialize(client)
  @client = client
end