lib/shiprocket_api/resources/tracking.rb in shiprocket_api-0.3.1 vs lib/shiprocket_api/resources/tracking.rb in shiprocket_api-0.4.0
- old
+ new
@@ -4,10 +4,10 @@
self.element_name = ""
class << self
def find_by_shipment_id(id)
- set_resource('shipment') do
+ set_prefix("#{Base.prefix}/courier/track/shipment") do
find(id)
end
end
end
\ No newline at end of file