Sha256: c9527d983951400eb6587720c0f02da15a8fe4f0673ca8706363082f89cc1a2f
Contents?: true
Size: 658 Bytes
Versions: 14
Compression:
Stored size: 658 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
14 entries across 14 versions & 2 rubygems