class Gorillapi::RequestBuilder
Attributes
accept_header[R]
content_type[R]
params[R]
path[R]
request_method[R]
token[R]
url[R]
Public Class Methods
new(options = {})
click to toggle source
# File lib/gorillapi/request_builder.rb, line 7 def initialize(options = {}) options.each do |key, value| instance_variable_set("@#{key}", value) unless value.nil? || value.empty? end end
Public Instance Methods
print()
click to toggle source
# File lib/gorillapi/request_builder.rb, line 17 def print request_string end
send()
click to toggle source
# File lib/gorillapi/request_builder.rb, line 13 def send `#{request_string}` end