Class: Player
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Player
- Defined in:
- lib/rubypitaya/app-template/app/models/player.rb
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/rubypitaya/app-template/app/models/player.rb', line 9 def to_hash { name: name, gold: gold, userId: user_id, } end |