Module: HttpMimic::InstanceMethods
- Defined in:
- lib/http_mimic.rb
Instance Method Summary collapse
- #delete(url, options = {}) ⇒ Object
- #get(url, options = {}) ⇒ Object
- #head(url, options = {}) ⇒ Object
- #options(url, options = {}) ⇒ Object
- #patch(url, options = {}) ⇒ Object
- #post(url, options = {}) ⇒ Object
- #put(url, options = {}) ⇒ Object
- #request(method, url, options = {}) ⇒ Object
Instance Method Details
#delete(url, options = {}) ⇒ Object
69 70 71 |
# File 'lib/http_mimic.rb', line 69 def delete(url, = {}) self.class.delete(url, ) end |
#get(url, options = {}) ⇒ Object
53 54 55 |
# File 'lib/http_mimic.rb', line 53 def get(url, = {}) self.class.get(url, ) end |
#head(url, options = {}) ⇒ Object
73 74 75 |
# File 'lib/http_mimic.rb', line 73 def head(url, = {}) self.class.head(url, ) end |
#options(url, options = {}) ⇒ Object
77 78 79 |
# File 'lib/http_mimic.rb', line 77 def (url, = {}) self.class.(url, ) end |
#patch(url, options = {}) ⇒ Object
65 66 67 |
# File 'lib/http_mimic.rb', line 65 def patch(url, = {}) self.class.patch(url, ) end |
#post(url, options = {}) ⇒ Object
57 58 59 |
# File 'lib/http_mimic.rb', line 57 def post(url, = {}) self.class.post(url, ) end |
#put(url, options = {}) ⇒ Object
61 62 63 |
# File 'lib/http_mimic.rb', line 61 def put(url, = {}) self.class.put(url, ) end |
#request(method, url, options = {}) ⇒ Object
81 82 83 |
# File 'lib/http_mimic.rb', line 81 def request(method, url, = {}) self.class.request(method, url, ) end |