Class: Comment

Inherits:
Rubee::SequelObject show all
Defined in:
lib/tests/example_models/comment.rb

Instance Attribute Summary collapse

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

included

Instance Attribute Details

#createdObject

Returns the value of attribute created.



2
3
4
# File 'lib/tests/example_models/comment.rb', line 2

def created
  @created
end

#idObject

Returns the value of attribute id.



2
3
4
# File 'lib/tests/example_models/comment.rb', line 2

def id
  @id
end

#textObject

Returns the value of attribute text.



2
3
4
# File 'lib/tests/example_models/comment.rb', line 2

def text
  @text
end

#updatedObject

Returns the value of attribute updated.



2
3
4
# File 'lib/tests/example_models/comment.rb', line 2

def updated
  @updated
end

#user_idObject

Returns the value of attribute user_id.



2
3
4
# File 'lib/tests/example_models/comment.rb', line 2

def user_id
  @user_id
end