Class: Address
- Inherits:
-
Rubee::SequelObject
- Object
- Rubee::SequelObject
- Address
- Defined in:
- lib/tests/example_models/address.rb
Instance Attribute Summary collapse
-
#apt ⇒ Object
Returns the value of attribute apt.
-
#city ⇒ Object
Returns the value of attribute city.
-
#created ⇒ Object
Returns the value of attribute created.
-
#id ⇒ Object
Returns the value of attribute id.
-
#state ⇒ Object
Returns the value of attribute state.
-
#street ⇒ Object
Returns the value of attribute street.
-
#updated ⇒ Object
Returns the value of attribute updated.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
-
#zip ⇒ Object
Returns the value of attribute zip.
Method Summary
Methods inherited from Rubee::SequelObject
all, #assign_attributes, count, create, dataset, db_set?, #destroy, destroy_all, find, find_first, find_last, find_or_new, first, holds, join, last, limit, offset, order, owns_many, owns_one, paginate, #persisted?, reconnect!, #reload, #save, serialize, #update, validate_before_persist!, where
Methods included from Rubee::DatabaseObjectable
Instance Attribute Details
#apt ⇒ Object
Returns the value of attribute apt.
2 3 4 |
# File 'lib/tests/example_models/address.rb', line 2 def apt @apt end |
#city ⇒ Object
Returns the value of attribute city.
2 3 4 |
# File 'lib/tests/example_models/address.rb', line 2 def city @city end |
#created ⇒ Object
Returns the value of attribute created.
2 3 4 |
# File 'lib/tests/example_models/address.rb', line 2 def created @created end |
#id ⇒ Object
Returns the value of attribute id.
2 3 4 |
# File 'lib/tests/example_models/address.rb', line 2 def id @id end |
#state ⇒ Object
Returns the value of attribute state.
2 3 4 |
# File 'lib/tests/example_models/address.rb', line 2 def state @state end |
#street ⇒ Object
Returns the value of attribute street.
2 3 4 |
# File 'lib/tests/example_models/address.rb', line 2 def street @street end |
#updated ⇒ Object
Returns the value of attribute updated.
2 3 4 |
# File 'lib/tests/example_models/address.rb', line 2 def updated @updated end |
#user_id ⇒ Object
Returns the value of attribute user_id.
2 3 4 |
# File 'lib/tests/example_models/address.rb', line 2 def user_id @user_id end |
#zip ⇒ Object
Returns the value of attribute zip.
2 3 4 |
# File 'lib/tests/example_models/address.rb', line 2 def zip @zip end |