class HelperModule::SimpleHttpContent
Public Class Methods
new(uri)
click to toggle source
# File lib/helpers/simple_http_helper.rb, line 108 def initialize(uri) @uri = uri @headers = {} end
Public Instance Methods
add_headers(params = {})
click to toggle source
# File lib/helpers/simple_http_helper.rb, line 125 def add_headers(params = {}) @headers = params end
add_parameters(params = {})
click to toggle source
# File lib/helpers/simple_http_helper.rb, line 117 def add_parameters(params = {}) raise NotImplementedError end
get_request()
click to toggle source
# File lib/helpers/simple_http_helper.rb, line 113 def get_request raise NotImplementedError end
get_request_klass()
click to toggle source
# File lib/helpers/simple_http_helper.rb, line 121 def get_request_klass raise NotImplementedError end