Sha256: 41e59293c8de60bc5afabe3bf177653e0d639f0f75fa3a3a9ac71f9a486f630b

Contents?: true

Size: 331 Bytes

Versions: 2

Compression:

Stored size: 331 Bytes

Contents

require 'thanos/resources/item/story'

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

        def build
          @results.collect do |comic|
            Thanos::Item::Story.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/story.rb
thanos-0.5.0 lib/thanos/factories/item/story.rb