Class: RwikiLinks::GetHtmlPage
- Inherits:
-
Object
- Object
- RwikiLinks::GetHtmlPage
- Defined in:
- lib/rwiki_links/get_html_page.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(uri) ⇒ GetHtmlPage
constructor
A new instance of GetHtmlPage.
Constructor Details
#initialize(uri) ⇒ GetHtmlPage
11 12 13 |
# File 'lib/rwiki_links/get_html_page.rb', line 11 def initialize(uri) @uri = uri end |
Class Method Details
.call ⇒ Object
9 |
# File 'lib/rwiki_links/get_html_page.rb', line 9 def self.call(...) = new(...).call |
Instance Method Details
#call ⇒ Object
15 16 17 |
# File 'lib/rwiki_links/get_html_page.rb', line 15 def call html_from_uri_response_body end |