class Restcomm::REST::Records

Constants

SUBRESOURCES

Public Class Methods

new(path, client) click to toggle source
Calls superclass method Restcomm::REST::ListResource::new
   # File lib/restcomm-ruby/rest/usage/records.rb
 8 def initialize(path, client)
 9   super
10   @list_key = 'usage_records'
11 end

Public Instance Methods

method_missing(method, *args) click to toggle source
Calls superclass method
   # File lib/restcomm-ruby/rest/usage/records.rb
13 def method_missing(method, *args)
14   return super unless SUBRESOURCES.include? method
15   self.class.new "#{@path}/#{restify(method)}", @client
16 end