class DomainsScanner::Results
Attributes
items[R]
next_page_link[R]
Public Class Methods
new(results, next_page_link)
click to toggle source
# File lib/domains_scanner/results.rb, line 7 def initialize(results, next_page_link) @items = results.map do |result| ResultItem.new(title: result[:title], url: result[:url]) end @next_page_link = next_page_link end