class Postmaster::Tracking
Public Class Methods
monitor_external(params={})
click to toggle source
# File lib/postmaster/tracking.rb, line 10 def self.monitor_external(params={}) response = Postmaster.request(:post, '/v1/track', params) return true end
track(tracking_id)
click to toggle source
# File lib/postmaster/tracking.rb, line 5 def self.track(tracking_id) response = Postmaster.request(:get, '/v1/track', {:tracking => tracking_id}) self.construct_from(response) end