class Addressbook::Contact::Nested

Public Class Methods

new(attributes={}, persisted=false) click to toggle source
# File lib/addressbook/contact.rb, line 65
def initialize(attributes={}, persisted=false)
  @attributes = attributes.present? ? attributes.stringify_keys : default_attributes
end