Sha256: 8d0102c8ec99dc5464475349771d371d076d10db631741b3c3fa7d0920c38574
Contents?: true
Size: 782 Bytes
Versions: 1
Compression:
Stored size: 782 Bytes
Contents
# # bounce_activity.rb # ConstantContact # # Copyright (c) 2013 Constant Contact. All rights reserved. module ConstantContact module Components class BounceActivity < Component attr_accessor :activity_type, :bounce_code, :bounce_description, :bounce_message, :bounce_date, :contact_id, :email_address, :campaign_id # Factory method to create a BounceActivity object from an array # @param [Hash] props - hash of properties to create object from # @return [BounceActivity] def self.create(props) bounce_activity = BounceActivity.new if props props.each do |key, value| bounce_activity.send("#{key}=", value) end end bounce_activity end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
constantcontact-1.0.1 | lib/constantcontact/components/tracking/bounce_activity.rb |