Class: Ppl::Entity::PostalAddress

Inherits:
Object
  • Object
show all
Defined in:
lib/ppl/entity/postal_address.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize ⇒ PostalAddress

Returns a new instance of PostalAddress.



12
13
14
# File 'lib/ppl/entity/postal_address.rb', line 12

def initialize
  @preferred = false
end

Instance Attribute Details

#country ⇒ Object

Returns the value of attribute country.



5
6
7
# File 'lib/ppl/entity/postal_address.rb', line 5

def country
  @country
end

#id ⇒ Object

Returns the value of attribute id.



3
4
5
# File 'lib/ppl/entity/postal_address.rb', line 3

def id
  @id
end

#locality ⇒ Object

Returns the value of attribute locality.



6
7
8
# File 'lib/ppl/entity/postal_address.rb', line 6

def locality
  @locality
end

#po_box ⇒ Object

Returns the value of attribute po_box.



8
9
10
# File 'lib/ppl/entity/postal_address.rb', line 8

def po_box
  @po_box
end

#postal_code ⇒ Object

Returns the value of attribute postal_code.



9
10
11
# File 'lib/ppl/entity/postal_address.rb', line 9

def postal_code
  @postal_code
end

#preferred ⇒ Object

Returns the value of attribute preferred.



4
5
6
# File 'lib/ppl/entity/postal_address.rb', line 4

def preferred
  @preferred
end

#region ⇒ Object

Returns the value of attribute region.



10
11
12
# File 'lib/ppl/entity/postal_address.rb', line 10

def region
  @region
end

#street ⇒ Object

Returns the value of attribute street.



7
8
9
# File 'lib/ppl/entity/postal_address.rb', line 7

def street
  @street
end