class Vonage::Response
Attributes
entity[R]
http_response[R]
Public Class Methods
new(entity=nil, http_response=nil)
click to toggle source
# File lib/vonage/response.rb, line 5 def initialize(entity=nil, http_response=nil) @entity = entity @http_response = http_response end
Public Instance Methods
method_missing(name, *args)
click to toggle source
Calls superclass method
# File lib/vonage/response.rb, line 20 def method_missing(name, *args) return super if @entity.nil? @entity.public_send(name, *args) end
respond_to_missing?(name, include_private = false)
click to toggle source
Calls superclass method
# File lib/vonage/response.rb, line 14 def respond_to_missing?(name, include_private = false) return super if @entity.nil? @entity.respond_to?(name) end