Sha256: 7989da50ba99a150dfed2ecfd61cc89271432a5b7f6f10d7ba4fac4911d52271

Contents?: true

Size: 469 Bytes

Versions: 15

Compression:

Stored size: 469 Bytes

Contents

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

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
easypost-3.0.1 lib/easypost/tracker.rb
easypost-3.0.0 lib/easypost/tracker.rb
easypost-2.7.3 lib/easypost/tracker.rb
easypost-2.7.2 lib/easypost/tracker.rb
easypost-2.7.1 lib/easypost/tracker.rb
easypost-2.7.0 lib/easypost/tracker.rb
easypost-2.6.2 lib/easypost/tracker.rb
easypost-2.6.1 lib/easypost/tracker.rb
easypost-2.6.0 lib/easypost/tracker.rb
easypost-2.5.0 lib/easypost/tracker.rb
easypost-2.4.0 lib/easypost/tracker.rb
easypost-2.3.0 lib/easypost/tracker.rb
easypost-2.2.0 lib/easypost/tracker.rb
easypost-2.1.11 lib/easypost/tracker.rb
easypost-2.1.10 lib/easypost/tracker.rb