Module: HttpMimic::InstanceMethods

Defined in:
lib/http_mimic.rb

Instance Method Summary collapse

Instance Method Details

#delete(url, options = {}) ⇒ Object



120
121
122
# File 'lib/http_mimic.rb', line 120

def delete(url, options = {})
  self.class.delete(url, options)
end

#get(url, options = {}) ⇒ Object



104
105
106
# File 'lib/http_mimic.rb', line 104

def get(url, options = {})
  self.class.get(url, options)
end

#head(url, options = {}) ⇒ Object



124
125
126
# File 'lib/http_mimic.rb', line 124

def head(url, options = {})
  self.class.head(url, options)
end

#options(url, options = {}) ⇒ Object



128
129
130
# File 'lib/http_mimic.rb', line 128

def options(url, options = {})
  self.class.options(url, options)
end

#patch(url, options = {}) ⇒ Object



116
117
118
# File 'lib/http_mimic.rb', line 116

def patch(url, options = {})
  self.class.patch(url, options)
end

#post(url, options = {}) ⇒ Object



108
109
110
# File 'lib/http_mimic.rb', line 108

def post(url, options = {})
  self.class.post(url, options)
end

#put(url, options = {}) ⇒ Object



112
113
114
# File 'lib/http_mimic.rb', line 112

def put(url, options = {})
  self.class.put(url, options)
end

#request(method, url, options = {}) ⇒ Object



132
133
134
# File 'lib/http_mimic.rb', line 132

def request(method, url, options = {})
  self.class.request(method, url, options)
end