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