Sha256: 8133c8c65baa63deb3a30b3f516ee960e6ef3714a87d1195e79d4ccb7c1c6f88

Contents?: true

Size: 461 Bytes

Versions: 2

Compression:

Stored size: 461 Bytes

Contents

module EasyPost
  class Tracker < Resource
    def self.create_list(params={}, api_key=nil)
      url = self.url + '/create_list'
      response = EasyPost.make_request(:post, url, api_key, params)
      return true
    end

    def self.all_updated(params={}, api_key=nil)
      url = self.url + '/all_updated'
      response = EasyPost.make_request(:get, url, api_key, params)
      return Util.convert_to_easypost_object(response, api_key)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
easypost-3.1.4 lib/easypost/tracker.rb
easypost-3.1.3 lib/easypost/tracker.rb