Sha256: d016d3977c42ddf7fc3cce95e3730017024f142b480833952fcdfe85f90c0a8a
Contents?: true
Size: 608 Bytes
Versions: 1
Compression:
Stored size: 608 Bytes
Contents
# # activity_error.rb # ConstantContact # # Copyright (c) 2013 Constant Contact. All rights reserved. module ConstantContact module Components class ActivityError < Component attr_accessor :message, :line_number, :email_address # Factory method to create an ActivityError object from an array # @param [Hash] props - hash of properties to create object from # @return [ActivityError] def self.create(props) obj = ActivityError.new if props props.each do |key, value| obj.send("#{key}=", value) if obj.respond_to? key end end obj end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
constantcontact-1.0.2 | lib/constantcontact/components/activities/activity_error.rb |