class Sinatra::Twilio::Response

Attributes

target[RW]

Public Class Methods

allowed_verbs() click to toggle source
# File lib/sinatra/twilio/response.rb, line 19
def self.allowed_verbs
  superclass.allowed_verbs
end
new(target) click to toggle source
Calls superclass method
# File lib/sinatra/twilio/response.rb, line 8
def initialize(target)
  super(nil)
  self.target = target
end

Public Instance Methods

method_missing(method, *args, &block) click to toggle source
Calls superclass method
# File lib/sinatra/twilio/response.rb, line 13
def method_missing(method, *args, &block)
  target.send(method, *args, &block)
rescue NoMethodError
  super(method, *args, &block)
end