Class: PUBG::Player::Matches
- Inherits:
-
Object
- Object
- PUBG::Player::Matches
- Defined in:
- lib/pubg/player/matches.rb
Instance Method Summary collapse
- #id ⇒ Object
-
#initialize(args) ⇒ Matches
constructor
A new instance of Matches.
- #type ⇒ Object
Constructor Details
#initialize(args) ⇒ Matches
Returns a new instance of Matches.
4 5 6 |
# File 'lib/pubg/player/matches.rb', line 4 def initialize(args) @args = args end |
Instance Method Details
#id ⇒ Object
12 13 14 |
# File 'lib/pubg/player/matches.rb', line 12 def id @args["id"] end |
#type ⇒ Object
8 9 10 |
# File 'lib/pubg/player/matches.rb', line 8 def type @args["type"] end |