Class: PUBG::Player::Data::Attributes

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

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Attributes

Returns a new instance of Attributes.



5
6
7
# File 'lib/pubg/player/data/attributes.rb', line 5

def initialize(args)
  @args = args
end

Instance Method Details

#createdAtObject



17
18
19
# File 'lib/pubg/player/data/attributes.rb', line 17

def createdAt
  @args["createdAt"]
end

#nameObject



29
30
31
# File 'lib/pubg/player/data/attributes.rb', line 29

def name
  @args["name"]
end

#patchVersionObject



25
26
27
# File 'lib/pubg/player/data/attributes.rb', line 25

def patchVersion
  @args["patchVersion"]
end

#shardIdObject



13
14
15
# File 'lib/pubg/player/data/attributes.rb', line 13

def shardId
  @args["shardId"]
end

#statsObject



33
34
35
# File 'lib/pubg/player/data/attributes.rb', line 33

def stats
  @args["stats"]
end

#titleIdObject



9
10
11
# File 'lib/pubg/player/data/attributes.rb', line 9

def titleId
  @args["titleId"]
end

#updatedAtObject



21
22
23
# File 'lib/pubg/player/data/attributes.rb', line 21

def updatedAt
  @args["updatedAt"]
end