Class: PUBG::Player::Season::Data::Relationships::Matches
- Inherits:
-
Object
- Object
- PUBG::Player::Season::Data::Relationships::Matches
- Defined in:
- lib/pubg/player/season/data/relationships/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.
7 8 9 |
# File 'lib/pubg/player/season/data/relationships/matches.rb', line 7 def initialize(args) @args = args end |
Instance Method Details
#id ⇒ Object
15 16 17 |
# File 'lib/pubg/player/season/data/relationships/matches.rb', line 15 def id @args["id"] end |
#type ⇒ Object
11 12 13 |
# File 'lib/pubg/player/season/data/relationships/matches.rb', line 11 def type @args["type"] end |