Class: CaTissue::Address

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

Instance Method Summary collapse

Methods included from Resource

#database, included, #tolerant_match?

Methods included from Annotatable

#annotation_proxy, #create_proxy, #method_missing

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class CaTissue::Annotatable

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.



8
9
10
11
# File 'lib/catissue/domain/address.rb', line 8

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