Class: Hongkong::News::Document

Inherits:
Struct
  • Object
show all
Defined in:
lib/hongkong/news/models/document.rb

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject

Returns the value of attribute content



3
4
5
# File 'lib/hongkong/news/models/document.rb', line 3

def content
  @content
end

#htmlObject

Returns the value of attribute html



3
4
5
# File 'lib/hongkong/news/models/document.rb', line 3

def html
  @html
end

#idObject

Returns the value of attribute id



3
4
5
# File 'lib/hongkong/news/models/document.rb', line 3

def id
  @id
end

#screenshot_dataObject

Returns the value of attribute screenshot_data



3
4
5
# File 'lib/hongkong/news/models/document.rb', line 3

def screenshot_data
  @screenshot_data
end

#sourceObject

Returns the value of attribute source



3
4
5
# File 'lib/hongkong/news/models/document.rb', line 3

def source
  @source
end

#titleObject

Returns the value of attribute title



3
4
5
# File 'lib/hongkong/news/models/document.rb', line 3

def title
  @title
end

#urlObject

Returns the value of attribute url



3
4
5
# File 'lib/hongkong/news/models/document.rb', line 3

def url
  @url
end