| Class | CouchRest::Model::Property |
| In: |
lib/couchrest/model/property.rb
|
| Parent: | Object |
| alias | [R] | |
| allow_blank | [R] | |
| array | [R] | |
| casted | [R] | |
| default | [R] | |
| init_method | [R] | |
| name | [R] | |
| options | [R] | |
| read_only | [R] | |
| type | [R] |
Attribute to define. All Properties are assumed casted unless the type is nil.
Initialize a new instance of a property‘s type ready to be used. If a proc is defined for the init method, it will be used instead of a normal call to the class.