class RainforestQA::Request
Attributes
client[RW]
options[RW]
path[RW]
request_method[RW]
Public Class Methods
new(client, request_method, path, options = {})
click to toggle source
# File lib/rainforestqa/request.rb, line 5 def initialize(client, request_method, path, options = {}) @client = client @request_method = request_method @path = path @options = options end
Public Instance Methods
perform()
click to toggle source
# File lib/rainforestqa/request.rb, line 12 def perform @client.send(@request_method, @path, @options).body end