Class: Dubhe::Entry
- Inherits:
-
Data
- Object
- Data
- Dubhe::Entry
- Defined in:
- lib/dubhe/models.rb,
lib/dubhe/models.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
readonly
Returns the value of attribute author.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#parent_id ⇒ Object
readonly
Returns the value of attribute parent_id.
-
#published_at ⇒ Object
readonly
Returns the value of attribute published_at.
-
#source_id ⇒ Object
readonly
Returns the value of attribute source_id.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#summary ⇒ Object
readonly
Returns the value of attribute summary.
-
#tags ⇒ Object
readonly
Returns the value of attribute tags.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#author ⇒ Object (readonly)
Returns the value of attribute author
4 5 6 |
# File 'lib/dubhe/models.rb', line 4 def @author end |
#id ⇒ Object (readonly)
Returns the value of attribute id
4 5 6 |
# File 'lib/dubhe/models.rb', line 4 def id @id end |
#parent_id ⇒ Object (readonly)
Returns the value of attribute parent_id
4 5 6 |
# File 'lib/dubhe/models.rb', line 4 def parent_id @parent_id end |
#published_at ⇒ Object (readonly)
Returns the value of attribute published_at
4 5 6 |
# File 'lib/dubhe/models.rb', line 4 def published_at @published_at end |
#source_id ⇒ Object (readonly)
Returns the value of attribute source_id
4 5 6 |
# File 'lib/dubhe/models.rb', line 4 def source_id @source_id end |
#state ⇒ Object (readonly)
Returns the value of attribute state
4 5 6 |
# File 'lib/dubhe/models.rb', line 4 def state @state end |
#summary ⇒ Object (readonly)
Returns the value of attribute summary
4 5 6 |
# File 'lib/dubhe/models.rb', line 4 def summary @summary end |
#tags ⇒ Object (readonly)
Returns the value of attribute tags
4 5 6 |
# File 'lib/dubhe/models.rb', line 4 def @tags end |
#title ⇒ Object (readonly)
Returns the value of attribute title
4 5 6 |
# File 'lib/dubhe/models.rb', line 4 def title @title end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at
4 5 6 |
# File 'lib/dubhe/models.rb', line 4 def updated_at @updated_at end |
#url ⇒ Object (readonly)
Returns the value of attribute url
4 5 6 |
# File 'lib/dubhe/models.rb', line 4 def url @url end |
Instance Method Details
#read? ⇒ Boolean
12 |
# File 'lib/dubhe/models.rb', line 12 def read? = state == :read |
#starred? ⇒ Boolean
13 |
# File 'lib/dubhe/models.rb', line 13 def starred? = state == :starred |