Sha256: c202524a305113178cef434f323590d8bfa04a54323acdf36dd8e75a962db3c0
Contents?: true
Size: 653 Bytes
Versions: 14
Compression:
Stored size: 653 Bytes
Contents
# # send_activity.rb # ConstantContact # # Copyright (c) 2013 Constant Contact. All rights reserved. module ConstantContact module Components class SendActivity < Component attr_accessor :activity_type, :campaign_id, :email_address, :contact_id, :send_date # Factory method to create a SendActivity object from an array # @param [Hash] props - properties to create object from # @return [SendActivity] def self.create(props) obj = SendActivity.new if props props.each do |key, value| obj.send("#{key}=", value) end end obj end end end end
Version data entries
14 entries across 14 versions & 2 rubygems