class PUBG::Player::Data

Public Class Methods

new(args) click to toggle source
# File lib/pubg/player/data.rb, line 8
def initialize(args)
  @args = args
end

Public Instance Methods

attributes() click to toggle source
# File lib/pubg/player/data.rb, line 20
def attributes
  Attributes.new(@args["attributes"])
end
id() click to toggle source
# File lib/pubg/player/data.rb, line 16
def id
  @args["id"]
end
relationships() click to toggle source
# File lib/pubg/player/data.rb, line 24
def relationships
  Relationships.new(@args["relationships"])
end
type() click to toggle source
# File lib/pubg/player/data.rb, line 12
def type
  @args["type"]
end