Sha256: 9ba59aa1912069abc3fe01ca8a9b6febbc9e4855da5185a631cec4fc097857f8

Contents?: true

Size: 457 Bytes

Versions: 10

Compression:

Stored size: 457 Bytes

Contents

class TournamentGateway < GatewayBase
  def id_key
    :tour_id
  end

  def source
    @source ||= [
      FactoryGirl.build(:remote_tournament,
        :tour_id => 'tournament_0',
        :is_current => true,
        :stages_ids => [
          {
            id: 'stage_0',
            tournament_id: 'tournament_0'
          },
          {
            id: 'stage_1',
            tournament_id: 'tournament_0'
          }
        ]
      )
    ]
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
synchronisable-1.2.3 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.2.2 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.2.1 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.2.0 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.1.9 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.1.8 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.1.7 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.1.6 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.1.5 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.1.4 spec/dummy/app/gateways/tournament_gateway.rb