Sha256: 7bc0606d1899b35423b943189b7f31f52dd1b0bc76946501dda198c90ae2837e

Contents?: true

Size: 363 Bytes

Versions: 6

Compression:

Stored size: 363 Bytes

Contents

class TeamGateway < GatewayBase
  def id_key
    :maet_id
  end

  def source
    @source ||= [
      FactoryGirl.build(:remote_team,
        :maet_id     => 'team_0',
        :player_ids => %w(player_0 player_2)
      ),
      FactoryGirl.build(:remote_team,
        :maet_id     => 'team_1',
        :player_ids => %w(player_1 player_3)
      )
    ]
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
synchronisable-1.3.1 spec/dummy/app/gateways/team_gateway.rb
synchronisable-1.3.0 spec/dummy/app/gateways/team_gateway.rb
synchronisable-1.2.7 spec/dummy/app/gateways/team_gateway.rb
synchronisable-1.2.6 spec/dummy/app/gateways/team_gateway.rb
synchronisable-1.2.5 spec/dummy/app/gateways/team_gateway.rb
synchronisable-1.2.4 spec/dummy/app/gateways/team_gateway.rb