Class: Delhivery::WayBillService

Inherits:
BaseService show all
Defined in:
lib/delhivery/services/way_bill_service.rb

Class Method Summary collapse

Class Method Details

.bulk_fetch(count = 1) ⇒ Object



4
5
6
# File 'lib/delhivery/services/way_bill_service.rb', line 4

def bulk_fetch(count=1)
  connection.get(path('bulk'), { count: count } )
end

.fetchObject



8
9
10
# File 'lib/delhivery/services/way_bill_service.rb', line 8

def fetch
  connection.get(path('fetch'))
end