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