Class: Puree::Model::Address

Inherits:
Structure show all
Defined in:
lib/puree/model/address.rb

Overview

Address where something is located.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Structure

#data?

Instance Attribute Details

#buildingString?

Returns:

  • (String, nil)


12
13
14
# File 'lib/puree/model/address.rb', line 12

def building
  @building
end

#cityString?

Returns:

  • (String, nil)


18
19
20
# File 'lib/puree/model/address.rb', line 18

def city
  @city
end

#countryString?

Returns:

  • (String, nil)


21
22
23
# File 'lib/puree/model/address.rb', line 21

def country
  @country
end

#postcodeString?

Returns:

  • (String, nil)


15
16
17
# File 'lib/puree/model/address.rb', line 15

def postcode
  @postcode
end

#streetString?

Returns:

  • (String, nil)


9
10
11
# File 'lib/puree/model/address.rb', line 9

def street
  @street
end