class ConstantContact::Components::Note
Attributes
created_date[RW]
id[RW]
modified_date[RW]
note[RW]
Public Class Methods
create(props)
click to toggle source
Factory method to create a Note
object from a json string @param [String] props - properties to create object from @return Note
# File lib/constantcontact/components/contacts/note.rb, line 15 def self.create(props) note = Note.new if props props.each do |key, value| note.send("#{key}=", value) end end note end