Sha256: e35376e6d9575b0094f200e7fa0b5924e5a9791149fdb0daae1a308cf65c3ec2
Contents?: true
Size: 456 Bytes
Versions: 3
Compression:
Stored size: 456 Bytes
Contents
# frozen_string_literal: true module Miteru class Feeds class Ayashige < Base HOST = "ayashige.herokuapp.com" URL = "https://#{HOST}".freeze def initialize(base_url = "https://ayashige.herokuapp.com") super(base_url) 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
miteru-2.0.2 | lib/miteru/feeds/ayashige.rb |
miteru-2.0.1 | lib/miteru/feeds/ayashige.rb |
miteru-2.0.0 | lib/miteru/feeds/ayashige.rb |