Class: Manifique::WebClient
- Inherits:
-
Object
- Object
- Manifique::WebClient
- Defined in:
- lib/manifique/web_client.rb
Instance Method Summary collapse
- #fetch_metadata ⇒ Object
-
#initialize(options = {}) ⇒ WebClient
constructor
A new instance of WebClient.
Constructor Details
Instance Method Details
#fetch_metadata ⇒ Object
17 18 19 20 21 22 23 24 25 26 |
# File 'lib/manifique/web_client.rb', line 17 def fetch_website if manifest = fetch_web_manifest @metadata.load_from_web_manifest(manifest) end @metadata.load_from_html(@html) @metadata end |