class HoundListSync::Extensions

Public Class Methods

new(raw, http:) click to toggle source
# File lib/hound_list_sync/extensions.rb, line 5
def initialize(raw, http:)
  @raw = raw
  @http = http
end

Public Instance Methods

extension(conf) click to toggle source
# File lib/hound_list_sync/extensions.rb, line 16
def extension(conf)
  Extension.new(conf, http: @http)
end
repositories() click to toggle source
# File lib/hound_list_sync/extensions.rb, line 10
def repositories
  Repositories::Join.new(
    @raw.map { |conf| extension(conf).repositories }
  )
end