Method: Html2rss::AutoSource#initialize
- Defined in:
- lib/html2rss/auto_source.rb
#initialize(url, body:, headers: {}) ⇒ AutoSource
Returns a new instance of AutoSource.
20 21 22 23 24 |
# File 'lib/html2rss/auto_source.rb', line 20 def initialize(url, body:, headers: {}) @url = url @body = body @headers = headers end |