Class: CaTissue::Address

Inherits:
Object
  • Object
show all
Defined in:
lib/catissue/domain/address.rb

Instance Method Summary collapse

Instance Method Details

#zip_code=(value) ⇒ Object

Sets this Address’s zip_code to value. The value argument can be nil, a String or an Integer.



4
5
6
7
# File 'lib/catissue/domain/address.rb', line 4

def zip_code=(value)
  value = value.to_s if Integer === value
  setZipCode(value)
end