class ConstantContact::Components::MoveResults

Attributes

id[RW]
uri[RW]

Public Class Methods

create(props) click to toggle source

Factory method to create a MoveResults object from a json string @param [Hash] props - properties to create object from @return [MoveResults]

# File lib/constantcontact/components/library/info/move_results.rb, line 15
def self.create(props)
  obj = MoveResults.new
  if props
    props.each do |key, value|
      obj.send("#{key}=", value) if obj.respond_to?("#{key}=")
    end
  end
  obj
end