Class: Scraper::Reader::Page

Inherits:
Struct
  • Object
show all
Defined in:
lib/scraper/reader.rb

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



80
81
82
# File 'lib/scraper/reader.rb', line 80

def content
  @content
end

#encodingObject

Returns the value of attribute encoding

Returns:

  • (Object)

    the current value of encoding



80
81
82
# File 'lib/scraper/reader.rb', line 80

def encoding
  @encoding
end

#etagObject

Returns the value of attribute etag

Returns:

  • (Object)

    the current value of etag



80
81
82
# File 'lib/scraper/reader.rb', line 80

def etag
  @etag
end

#last_modifiedObject

Returns the value of attribute last_modified

Returns:

  • (Object)

    the current value of last_modified



80
81
82
# File 'lib/scraper/reader.rb', line 80

def last_modified
  @last_modified
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



80
81
82
# File 'lib/scraper/reader.rb', line 80

def url
  @url
end