Class: Restcomm::REST::Calls

Inherits:
ListResource show all
Defined in:
lib/restcomm-ruby/rest/calls.rb

Instance Method Summary collapse

Methods inherited from ListResource

#create, #get, #inspect, #list, #total

Methods included from Utils

#derestify, #restify

Constructor Details

#initialize(path, client) ⇒ Calls

Returns a new instance of Calls.



4
5
6
7
# File 'lib/restcomm-ruby/rest/calls.rb', line 4

def initialize(path, client)
  super
  resource :feedback_summary
end

Instance Method Details

#make(from, to, url) ⇒ Object



9
10
11
# File 'lib/restcomm-ruby/rest/calls.rb', line 9

def make(from, to, url)
  create from: from, to: to, url: url
end