Module: Notion::Faraday::Request
- Included in:
- Client
- Defined in:
- lib/notion/faraday/request.rb
Instance Method Summary collapse
- #delete(path, options = {}) ⇒ Object
- #get(path, options = {}) ⇒ Object
- #patch(path, options = {}) ⇒ Object
- #post(path, options = {}) ⇒ Object
- #put(path, options = {}) ⇒ Object
Instance Method Details
#delete(path, options = {}) ⇒ Object
21 22 23 |
# File 'lib/notion/faraday/request.rb', line 21 def delete(path, = {}) request(:delete, path, ) end |
#get(path, options = {}) ⇒ Object
5 6 7 |
# File 'lib/notion/faraday/request.rb', line 5 def get(path, = {}) request(:get, path, ) end |
#patch(path, options = {}) ⇒ Object
9 10 11 |
# File 'lib/notion/faraday/request.rb', line 9 def patch(path, = {}) request(:patch, path, ) end |
#post(path, options = {}) ⇒ Object
13 14 15 |
# File 'lib/notion/faraday/request.rb', line 13 def post(path, = {}) request(:post, path, ) end |
#put(path, options = {}) ⇒ Object
17 18 19 |
# File 'lib/notion/faraday/request.rb', line 17 def put(path, = {}) request(:put, path, ) end |