Sha256: 0dc4e8e47337e9531f314f3384748aef1f0bfa53a5bd4e6b3ac5935d5b6e54ea
Contents?: true
Size: 235 Bytes
Versions: 2
Compression:
Stored size: 235 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alephant-preview-0.6.1 | spec/fixtures/components/baz/mapper.rb |
alephant-preview-0.6.0 | spec/fixtures/components/baz/mapper.rb |