Sha256: 6f95a14b5f123392de5440067af3575d06b0432eb48c5e66c44168a783b26a4b
Contents?: true
Size: 797 Bytes
Versions: 1
Compression:
Stored size: 797 Bytes
Contents
module ETAPI class Session def tracking_retrieve(*args) # options options = args.extract_options! @job_id = options[:job_id] # check for required options required_options = ["job_id"] return false unless check_required(required_options) # merge parameters and values type = "tracking" method = "retrieve" @parameters = { "search_type" => "jobID", "sub_action" => "summary", "search_value" => @job_id, "search_value2" => "" } response = build_call(type, method, {:parse_response => false}) Hash.from_xml(response)['exacttarget']['system']['tracking']['emailSummary'] rescue false end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
etapi-0.1.1 | lib/etapi/calls/tracking.rb |