class ConstantContact::Components::TrackingSummary
Attributes
bounces[RW]
clicks[RW]
forwards[RW]
opens[RW]
sends[RW]
spam_count[RW]
unsubscribes[RW]
Public Class Methods
create(props)
click to toggle source
Factory method to create a TrackingSummary
object from an array @param [Hash] props - properties to create object from @return [TrackingSummary]
# File lib/constantcontact/components/tracking/tracking_summary.rb, line 16 def self.create(props) obj = TrackingSummary.new if props props.each do |key, value| obj.send("#{key}=", value) if obj.respond_to? key end end obj end