Sha256: 9ba94ce167bd7fe1cd9e5afff541f3aaf86d30dc007004336e5e21855e7c12e2
Contents?: true
Size: 363 Bytes
Versions: 11
Compression:
Stored size: 363 Bytes
Contents
module Attune MOCKS = { 'Anonymous.create' => Proc.new{ {:id => SecureRandom.uuid } }, 'Entities.get_rankings' => Proc.new{ |body| { :ranking => body.ids.map(&:to_s) } }, 'Entities.batch_get_rankings' => Proc.new{ |body| { :results => body.requests.map { |params| { :ranking => params.ids.map(&:to_s) } } } } } end
Version data entries
11 entries across 11 versions & 1 rubygems