Module: HttpMimic::InstanceMethods

Defined in:
lib/http_mimic.rb

Instance Method Summary collapse

Instance Method Details

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



69
70
71
# File 'lib/http_mimic.rb', line 69

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

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



53
54
55
# File 'lib/http_mimic.rb', line 53

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

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



73
74
75
# File 'lib/http_mimic.rb', line 73

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

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



77
78
79
# File 'lib/http_mimic.rb', line 77

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

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



65
66
67
# File 'lib/http_mimic.rb', line 65

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

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



57
58
59
# File 'lib/http_mimic.rb', line 57

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

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



61
62
63
# File 'lib/http_mimic.rb', line 61

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

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



81
82
83
# File 'lib/http_mimic.rb', line 81

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