Sha256: 40c96d159523f16c6bf3dcd259cc1441f69a4776697d65a2f2441b8a836e298e

Contents?: true

Size: 375 Bytes

Versions: 2

Compression:

Stored size: 375 Bytes

Contents

class Ppl::Entity::Contact

  attr_accessor :id
  attr_accessor :name
  attr_accessor :email_address
  attr_accessor :birthday
  attr_accessor :phone_number
  attr_accessor :organization
  attr_accessor :postal_address

  def set_postal_address
    if @postal_address.nil?
      @postal_address = Ppl::Entity::PostalAddress.new
    end
    yield @postal_address
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ppl-1.3.0 lib/ppl/entity/contact.rb
ppl-1.2.0 lib/ppl/entity/contact.rb