Class: Miteru::Feeds::Ayashige
- Defined in:
- lib/miteru/feeds/ayashige.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(base_url = "https://ayashige.herokuapp.com") ⇒ Ayashige
constructor
A new instance of Ayashige.
- #urls ⇒ Object
Methods inherited from Base
#call, #decomposed_urls, inherited, #source
Methods inherited from Service
Constructor Details
#initialize(base_url = "https://ayashige.herokuapp.com") ⇒ Ayashige
Returns a new instance of Ayashige.
6 7 8 |
# File 'lib/miteru/feeds/ayashige.rb', line 6 def initialize(base_url = "https://ayashige.herokuapp.com") super end |
Instance Method Details
#urls ⇒ Object
10 11 12 |
# File 'lib/miteru/feeds/ayashige.rb', line 10 def urls json.map { |item| item["fqdn"] }.map { |fqdn| "https://#{fqdn}" } end |