Class: SignalWire::REST::BaseResource

Inherits:
Object
  • Object
show all
Defined in:
lib/signalwire/rest/http_client.rb

Overview

Base for all namespace/resource classes.

Instance Method Summary collapse

Constructor Details

#initialize(http, base_path) ⇒ BaseResource

Returns a new instance of BaseResource.



115
116
117
118
# File 'lib/signalwire/rest/http_client.rb', line 115

def initialize(http, base_path)
  @http      = http
  @base_path = base_path
end