Class: ReamazeAPI::Resource

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/reamaze_api/resource.rb

Direct Known Subclasses

Article, Channel, Contact, Conversation, Message

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ void

Initialize a new Resource instance. API resources should inherit from this class.

Parameters:

  • client

    ReamazeAPI::Client instance.



16
17
18
# File 'lib/reamaze_api/resource.rb', line 16

def initialize(client)
  @client = client
end