Sha256: dfac2d45dab9101e2d56fd1a3ad17b2cf840f588b99e394aeb8ab9bb4940ab25

Contents?: true

Size: 182 Bytes

Versions: 31

Compression:

Stored size: 182 Bytes

Contents

class PlayerBLL

  def create_new_player(config)
    name = config['initial_player']['name']

    player = Player.new(name: name, user: User.new)
    player.save
    player
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
rubypitaya-1.6.2 ./lib/rubypitaya/app-template/app/bll/player_bll.rb
rubypitaya-1.6.1 ./lib/rubypitaya/app-template/app/bll/player_bll.rb
rubypitaya-1.6.0 ./lib/rubypitaya/app-template/app/bll/player_bll.rb
rubypitaya-1.5.0 ./lib/rubypitaya/app-template/app/bll/player_bll.rb
rubypitaya-1.4.1 ./lib/rubypitaya/app-template/app/bll/player_bll.rb
rubypitaya-1.4.0 ./lib/rubypitaya/app-template/app/bll/player_bll.rb
rubypitaya-1.3.1 ./lib/rubypitaya/app-template/app/bll/player_bll.rb
rubypitaya-1.3.0 ./lib/rubypitaya/app-template/app/bll/player_bll.rb
rubypitaya-1.2.9 ./lib/rubypitaya/app-template/app/bll/player_bll.rb
rubypitaya-1.2.7 ./lib/rubypitaya/app-template/app/bll/player_bll.rb
rubypitaya-1.1.0 ./lib/rubypitaya/app-template/app/bll/player_bll.rb