Sha256: 1baf7b75c99dd8afd616d31a8dc2bbed8ad5fd5a8dd048f64e93d415c17fd8d8

Contents?: true

Size: 234 Bytes

Versions: 6

Compression:

Stored size: 234 Bytes

Contents

require "json"

class BazMapper < Alephant::Publisher::Request::DataMapper
  def data
    (1..3).reduce({}) do |accum, index|
      accum.merge(
        JSON.parse(
          get("/test/call").body
        )
      )
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
alephant-preview-0.3.9 spec/fixtures/components/baz/mapper.rb
alephant-preview-0.3.8 spec/fixtures/components/baz/mapper.rb
alephant-preview-0.3.7 spec/fixtures/components/baz/mapper.rb
alephant-preview-0.3.6 spec/fixtures/components/baz/mapper.rb
alephant-preview-0.3.5 spec/fixtures/components/baz/mapper.rb
alephant-preview-0.3.4 spec/fixtures/components/baz/mapper.rb