Class: Webmention::Parsers::PlaintextParser Private
- Inherits:
-
Webmention::Parser
- Object
- Webmention::Parser
- Webmention::Parsers::PlaintextParser
- Defined in:
- lib/webmention/parsers/plaintext_parser.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Constant Summary
Constants inherited from Webmention::Parser
Webmention::Parser::URI_REGEXP
Instance Method Summary collapse
-
#results ⇒ Array<String>
private
An array of absolute URLs.
Methods inherited from Webmention::Parser
Constructor Details
This class inherits a constructor from Webmention::Parser
Instance Method Details
#results ⇒ Array<String>
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns An array of absolute URLs.
12 13 14 |
# File 'lib/webmention/parsers/plaintext_parser.rb', line 12 def results @results ||= URI::DEFAULT_PARSER.extract(response_body, %w[http https]) end |