Class: Hongkong::News::Document
- Inherits:
-
Struct
- Object
- Struct
- Hongkong::News::Document
- Defined in:
- lib/hongkong/news/models/document.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#html ⇒ Object
Returns the value of attribute html.
-
#id ⇒ Object
Returns the value of attribute id.
-
#image_url ⇒ Object
Returns the value of attribute image_url.
-
#source ⇒ Object
Returns the value of attribute source.
-
#title ⇒ Object
Returns the value of attribute title.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content
3 4 5 |
# File 'lib/hongkong/news/models/document.rb', line 3 def content @content end |
#html ⇒ Object
Returns the value of attribute html
3 4 5 |
# File 'lib/hongkong/news/models/document.rb', line 3 def html @html end |
#id ⇒ Object
Returns the value of attribute id
3 4 5 |
# File 'lib/hongkong/news/models/document.rb', line 3 def id @id end |
#image_url ⇒ Object
Returns the value of attribute image_url
3 4 5 |
# File 'lib/hongkong/news/models/document.rb', line 3 def image_url @image_url end |
#source ⇒ Object
Returns the value of attribute source
3 4 5 |
# File 'lib/hongkong/news/models/document.rb', line 3 def source @source end |
#title ⇒ Object
Returns the value of attribute title
3 4 5 |
# File 'lib/hongkong/news/models/document.rb', line 3 def title @title end |
#url ⇒ Object
Returns the value of attribute url
3 4 5 |
# File 'lib/hongkong/news/models/document.rb', line 3 def url @url end |