Module: JustGiving::Request
- Included in:
- API
- Defined in:
- lib/just_giving/request.rb
Instance Method Summary collapse
- #get(path, options = {}) ⇒ Object
- #head(path, options = {}) ⇒ Object
- #post(path, options = {}) ⇒ Object
- #put(path, options = {}) ⇒ Object
Instance Method Details
#get(path, options = {}) ⇒ Object
3 4 5 |
# File 'lib/just_giving/request.rb', line 3 def get(path, ={}) request(:get, path, ) end |
#head(path, options = {}) ⇒ Object
11 12 13 |
# File 'lib/just_giving/request.rb', line 11 def head(path, ={}) request(:head, path, ) end |
#post(path, options = {}) ⇒ Object
15 16 17 |
# File 'lib/just_giving/request.rb', line 15 def post(path, ={}) request(:post, path, ) end |
#put(path, options = {}) ⇒ Object
7 8 9 |
# File 'lib/just_giving/request.rb', line 7 def put(path, ={}) request(:put, path, ) end |