Sha256: ee202d8bd25ba12bff9271e42990d1ecd9f725f3865042d792a788a0e7fbe34a

Contents?: true

Size: 254 Bytes

Versions: 2

Compression:

Stored size: 254 Bytes

Contents

require 'thanos/resources/url'

module Thanos
  module Factory
    class Url
      def initialize(urls)
        @urls = urls
      end

      def build
        @urls.collect do |url|
          Thanos::Url.new(url)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thanos-0.6.0 lib/thanos/factories/url.rb
thanos-0.5.0 lib/thanos/factories/url.rb