Class: Wes::Data::API::Client
- Inherits:
-
Object
- Object
- Wes::Data::API::Client
- Defined in:
- lib/wes/data/api/client.rb
Instance Method Summary collapse
Instance Method Details
#get(path) ⇒ Object
8 9 10 11 |
# File 'lib/wes/data/api/client.rb', line 8 def get(path) api_response = request.get path response api_response end |
#post(path, options) ⇒ Object
13 14 15 16 |
# File 'lib/wes/data/api/client.rb', line 13 def post(path, ) api_response = request.post(path, ) response api_response end |
#put(path, options) ⇒ Object
18 19 20 21 |
# File 'lib/wes/data/api/client.rb', line 18 def put(path, ) api_response = request.put(path, ) response api_response end |