Class: AliexpressAPI::Connection
- Inherits:
-
Object
- Object
- AliexpressAPI::Connection
- Defined in:
- lib/aliexpress_api/connection.rb
Instance Method Summary collapse
Instance Method Details
#get(path, params: {}) ⇒ Object
7 8 9 |
# File 'lib/aliexpress_api/connection.rb', line 7 def get(path, params: {}) handle_request { HTTP.get(path, params: params) } end |
#post(path, params: {}) ⇒ Object
11 12 13 |
# File 'lib/aliexpress_api/connection.rb', line 11 def post(path, params: {}) handle_request { HTTP.post(path, form: params) } end |