Sha256: 0775c571f57d472e183df43d515dffa2d5fe2e27627961457e9c0938fcf74a26

Contents?: true

Size: 331 Bytes

Versions: 2

Compression:

Stored size: 331 Bytes

Contents

require 'thanos/resources/item/comic'

module Thanos
  module Factory
    module Item
      class Comic
        def initialize(results)
          @results = results
        end

        def build
          @results.collect do |comic|
            Thanos::Item::Comic.new(comic)
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thanos-0.6.0 lib/thanos/factories/item/comic.rb
thanos-0.5.0 lib/thanos/factories/item/comic.rb