Class: Oz::Resources::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/oz/resources/base.rb

Overview

Shared behaviour for API resource wrappers. Holds the Client and provides small helpers for wrapping responses and encoding path segments.

Direct Known Subclasses

Agent, Conversations, Identities, Runs, Schedules, Sessions

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Base

Returns a new instance of Base.



10
11
12
# File 'lib/oz/resources/base.rb', line 10

def initialize(client)
  @client = client
end