Class: PUBG::Player::Season::Data::Relationships::Matches

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

Instance Method Summary collapse

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

#idObject



15
16
17
# File 'lib/pubg/player/season/data/relationships/matches.rb', line 15

def id
  @args["id"]
end

#typeObject



11
12
13
# File 'lib/pubg/player/season/data/relationships/matches.rb', line 11

def type
  @args["type"]
end