Module: HttpMimic::InstanceMethods

Defined in:
lib/http_mimic.rb

Instance Method Summary collapse

Instance Method Details

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



146
147
148
# File 'lib/http_mimic.rb', line 146

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

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



130
131
132
# File 'lib/http_mimic.rb', line 130

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

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



150
151
152
# File 'lib/http_mimic.rb', line 150

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

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



154
155
156
# File 'lib/http_mimic.rb', line 154

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

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



142
143
144
# File 'lib/http_mimic.rb', line 142

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

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



134
135
136
# File 'lib/http_mimic.rb', line 134

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

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



138
139
140
# File 'lib/http_mimic.rb', line 138

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

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



158
159
160
# File 'lib/http_mimic.rb', line 158

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