Class: PUBG::Player::Matches

Inherits:
Object
  • Object
show all
Defined in:
lib/pubg/player/matches.rb

Instance Method Summary collapse

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

#idObject



12
13
14
# File 'lib/pubg/player/matches.rb', line 12

def id
  @args["id"]
end

#typeObject



8
9
10
# File 'lib/pubg/player/matches.rb', line 8

def type
  @args["type"]
end