Sha256: bbf69ed7a826482c937eeba0f85d3adae9388f522e512e25a3ccda08d08e51ac

Contents?: true

Size: 1.23 KB

Versions: 3

Compression:

Stored size: 1.23 KB

Contents

SUBMISSION_ROUND = {
  id: 4279,
  title: 'my round',
  start_date: 1406652331,
  end_date: 1406655931,
  type: 'submission',
  rules: {
    num_entries: 100,
    interval: 'day'
  }
}
SUBMISSION_ROUND_UPDATED = {
  id: 4279,
  title: 'updated',
  start_date: 1406652331,
  end_date: 1406655931,
  type: 'submission',
  rules: {
    num_entries: 100,
    interval: 'day'
  }
}
RANDOM_DRAW_ROUND = {
  id: 4279,
  title: 'my random draw round',
  start_date: 1406652331,
  end_date: 1406655931,
  type: 'random_draw',
  rules: {
    winners: 10,
    percentage: false
  }
}
PRIZE_FULFILLMENT_ROUND = {
  id: 4279,
  title: 'my prize fulfillment round',
  start_date: 1406652331,
  end_date: 1406655931,
  type: 'webhook',
  rules: {
    webhook: 'http://www.strutta.com'
  }
}
POINTS_ROUND = {
  id: 4399,
  title: 'my points round',
  start_date: 1406652888,
  end_date: 1406656999,
  type: 'points',
  rules: {
    winners: 10,
    interval: 'game',
    min_allowed: 0,
    max_allowed: 10
  }
}
JUDGING_ROUND = {
  id: 5532,
  title: 'my judging round',
  start_date: 1406652888,
  end_date: 1406656999,
  type: 'judging',
  rules: {
    winners: 10,
    ranking_size: 5
  }
}
ROUND_INDEX = [SUBMISSION_ROUND, RANDOM_DRAW_ROUND, PRIZE_FULFILLMENT_ROUND]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
strutta-api-1.0.3.1 spec/fixtures/rounds_fixtures.rb
strutta-api-1.0.2 spec/fixtures/rounds_fixtures.rb
strutta-api-1.0.1 spec/fixtures/rounds_fixtures.rb