Sha256: 7672d7813593f8fcafe39d9e7ba4826588c22abe2597fe1eff4d086d1d9a1cda
Contents?: true
Size: 370 Bytes
Versions: 4
Compression:
Stored size: 370 Bytes
Contents
# frozen_string_literal: true module Miteru class Feeds class Ayashige < Base def initialize(base_url = "https://ayashige.herokuapp.com") super end def urls json.map { |item| item["fqdn"] }.map { |fqdn| "https://#{fqdn}" } end private def json get_json "/api/v1/domains/" end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
miteru-3.0.1 | lib/miteru/feeds/ayashige.rb |
miteru-3.0.0 | lib/miteru/feeds/ayashige.rb |
miteru-2.4.0 | lib/miteru/feeds/ayashige.rb |
miteru-2.3.2 | lib/miteru/feeds/ayashige.rb |