lib/sailthru.rb
# params
#   template, String
#   start_date, String
#   end_date, String
#   options, Hash
#
# returns:
#   hash, response from server
# Retrieve information about a particular blast or aggregated information from all of blasts over a specified date range


hash, response from server
Retrieve information about a particular blast or aggregated information from all of blasts over a specified date range
hash response from server Retrieve information about a particular blast or aggregated information from all of blasts over a specified date range
def stats_send(template = nil, start_date = nil, end_date = nil, options = {})
      data = options
      if template != nil
        data[:template] = template
      end
      if start_date != nil
        data[:start_date] = start_date
      end
      if end_date != nil
        data[:end_date] = end_date
      end
      data[:stat] = 'send'
      stats(data)
    end
def stats_send ( template = nil , start_date = nil , end_date = nil , options = { } ) data = options if template != nil data [ :template ] = template end if start_date != nil data [ :start_date ] = start_date end if end_date != nil data [ :end_date ] = end_date end data [ :stat ] = 'send' stats ( data ) end
params
template, String
start_date, String
end_date, String
options, Hash
params template String start_date String end_date String options Hash
template
<not_specific>
start_date
<not_specific>
end_date
<not_specific>
options
<not_specific>