class PUBG::Player::Season::Data::Relationships
Public Class Methods
new(args)
click to toggle source
# File lib/pubg/player/season/data/relationships.rb, line 10 def initialize(args) @args = args end
Public Instance Methods
matchStyle(data)
click to toggle source
# File lib/pubg/player/season/data/relationships.rb, line 46 def matchStyle(data) i = [] data.each do |item| i << Matches.new(item) end i end
matchesDuo()
click to toggle source
# File lib/pubg/player/season/data/relationships.rb, line 26 def matchesDuo matchStyle(@args["matchesDuo"]["data"]) end
matchesDuoFPP()
click to toggle source
# File lib/pubg/player/season/data/relationships.rb, line 38 def matchesDuoFPP matchStyle(@args["matchesDuoFPP"]["data"]) end
matchesSolo()
click to toggle source
# File lib/pubg/player/season/data/relationships.rb, line 22 def matchesSolo matchStyle(@args["matchesSolo"]["data"]) end
matchesSoloFPP()
click to toggle source
# File lib/pubg/player/season/data/relationships.rb, line 34 def matchesSoloFPP matchStyle(@args["matchesSoloFPP"]["data"]) end
matchesSquad()
click to toggle source
# File lib/pubg/player/season/data/relationships.rb, line 30 def matchesSquad matchStyle(@args["matchesSquad"]["data"]) end
matchesSquadFPP()
click to toggle source
# File lib/pubg/player/season/data/relationships.rb, line 42 def matchesSquadFPP matchStyle(@args["matchesSquadFPP"]["data"]) end
player()
click to toggle source
# File lib/pubg/player/season/data/relationships.rb, line 14 def player Player.new(@args["player"]) end
season()
click to toggle source
# File lib/pubg/player/season/data/relationships.rb, line 18 def season Season.new(@args["season"]) end