diff --git a/lib/aftership/v4/tracking.rb b/lib/aftership/v4/tracking.rb index d598611..b5cbdef 100644 --- a/lib/aftership/v4/tracking.rb +++ b/lib/aftership/v4/tracking.rb @@ -61,11 +61,6 @@ def self.get_all(params = {}) new(:get, 'trackings', params).call end - # GET /trackings/exports - def self.export(params = {}) - new(:get, 'trackings/exports', params).call - end - # PUT /trackings/:slug/:tracking_number def self.update(slug, tracking_number, params = {}) if slug.nil? || slug.empty? || tracking_number.nil? || tracking_number.empty? diff --git a/test/tracking.rb b/test/tracking.rb index 788bb7f..a44bdd3 100644 --- a/test/tracking.rb +++ b/test/tracking.rb @@ -7,7 +7,6 @@ puts AfterShip::V4::Tracking.get('hong-kong-post', 'RA123456780HK') puts AfterShip::V4::Tracking.get_all -puts AfterShip::V4::Tracking.export puts AfterShip::V4::Tracking.update('hong-kong-post', 'RA123456780HK', {:title => 'Testing'})