Class: Linkser::Objects::HTML
Instance Attribute Summary
#head, #last_url, #url
Instance Method Summary
collapse
#body, #build_body, #initialize
Instance Method Details
#description ⇒ Object
13
14
15
|
# File 'lib/linkser/objects/html.rb', line 13
def description
@description ||= build_description
end
|
17
18
19
|
# File 'lib/linkser/objects/html.rb', line 17
def images
@images ||= build_images
end
|
21
22
23
|
# File 'lib/linkser/objects/html.rb', line 21
def nokogiri
@nokogiri ||= Nokogiri::HTML(body)
end
|
25
26
27
|
# File 'lib/linkser/objects/html.rb', line 25
def ogp
@ogp ||= build_ogp
end
|
29
30
31
|
# File 'lib/linkser/objects/html.rb', line 29
def resource
@resource ||= build_resource
end
|
9
10
11
|
# File 'lib/linkser/objects/html.rb', line 9
def title
@title ||= build_title
end
|