class Delhivery::WayBillService

Public Class Methods

bulk_fetch(count=1) click to toggle source
# File lib/delhivery/services/way_bill_service.rb, line 4
def bulk_fetch(count=1)
  connection.get(path('bulk'), { count: count } )
end
fetch() click to toggle source
# File lib/delhivery/services/way_bill_service.rb, line 8
def fetch
  connection.get(path('fetch'))
end

Private Class Methods

path(action) click to toggle source
# File lib/delhivery/services/way_bill_service.rb, line 13
def path(action)
  "/waybill/api/#{action}/json/"
end