Sha256: 10c5f317e099919627217bee9a450024b5e0f60c1457b6ae87a4060febcb8517

Contents?: true

Size: 278 Bytes

Versions: 22

Compression:

Stored size: 278 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 => %w(stage_0 stage_1)
      )
    ]
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
synchronisable-1.1.3 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.1.2 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.1.1 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.1.0 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.0.9 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.0.8 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.0.7 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.0.6 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.0.5 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.0.4 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.0.3 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.0.2 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.0.1 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-1.0.0 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-0.0.9 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-0.0.8 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-0.0.7 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-0.0.6 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-0.0.5 spec/dummy/app/gateways/tournament_gateway.rb
synchronisable-0.0.4 spec/dummy/app/gateways/tournament_gateway.rb