Sha256: 48f7a6c4238f0d421aa814f7ba98816ae61a271fe5b0b662ec5e5fe17bc22a65

Contents?: true

Size: 824 Bytes

Versions: 1

Compression:

Stored size: 824 Bytes

Contents

module Popolo
  # A physical location or a mail delivery point.
  class Address
    include Mongoid::Document

    embedded_in :addressable, polymorphic: true

    # The address' type, e.g. 'capitol'.
    field :type, type: String
    # The postal address.
    field :address, type: String
    # A voice telephone number.
    field :voice, type: String
    # A facsimile telephone number.
    field :fax, type: String
    # A mobile telephone number.
    field :cell, type: String
    # A toll-free telephone number.
    field :tollfree, type: String
    # A video conferencing telephone number.
    field :video, type: String
    # A paging device telephone number.
    field :pager, type: String
    # A telecommunication device for people with hearing or speech difficulties.
    field :textphone, type: String
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
popolo-0.0.2 app/models/popolo/address.rb