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
146 147 148 |
# File 'lib/http_mimic.rb', line 146 def delete(url, = {}) self.class.delete(url, ) end |
#get(url, options = {}) ⇒ Object
130 131 132 |
# File 'lib/http_mimic.rb', line 130 def get(url, = {}) self.class.get(url, ) end |
#head(url, options = {}) ⇒ Object
150 151 152 |
# File 'lib/http_mimic.rb', line 150 def head(url, = {}) self.class.head(url, ) end |
#options(url, options = {}) ⇒ Object
154 155 156 |
# File 'lib/http_mimic.rb', line 154 def (url, = {}) self.class.(url, ) end |
#patch(url, options = {}) ⇒ Object
142 143 144 |
# File 'lib/http_mimic.rb', line 142 def patch(url, = {}) self.class.patch(url, ) end |
#post(url, options = {}) ⇒ Object
134 135 136 |
# File 'lib/http_mimic.rb', line 134 def post(url, = {}) self.class.post(url, ) end |
#put(url, options = {}) ⇒ Object
138 139 140 |
# File 'lib/http_mimic.rb', line 138 def put(url, = {}) self.class.put(url, ) end |
#request(method, url, options = {}) ⇒ Object
158 159 160 |
# File 'lib/http_mimic.rb', line 158 def request(method, url, = {}) self.class.request(method, url, ) end |