Class: Delhivery::WarehouseService
- Inherits:
-
BaseService
- Object
- BaseService
- Delhivery::WarehouseService
- Defined in:
- lib/delhivery/services/warehouse_service.rb
Class Method Summary collapse
Class Method Details
.check_status(warehouse_name) ⇒ Object
8 9 10 |
# File 'lib/delhivery/services/warehouse_service.rb', line 8 def check_status(warehouse_name) connection.post(status_path, name: warehouse_name) end |
.create(params) ⇒ Object
4 5 6 |
# File 'lib/delhivery/services/warehouse_service.rb', line 4 def create(params) connection.post(create_path, params) end |
.edit(params) ⇒ Object
12 13 14 |
# File 'lib/delhivery/services/warehouse_service.rb', line 12 def edit(params) connection.post(edit_path, params) end |