Class: PUBG::Player::Data::Attributes
- Inherits:
-
Object
- Object
- PUBG::Player::Data::Attributes
- Defined in:
- lib/pubg/player/data/attributes.rb
Instance Method Summary collapse
- #createdAt ⇒ Object
-
#initialize(args) ⇒ Attributes
constructor
A new instance of Attributes.
- #name ⇒ Object
- #patchVersion ⇒ Object
- #shardId ⇒ Object
- #stats ⇒ Object
- #titleId ⇒ Object
- #updatedAt ⇒ Object
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
#createdAt ⇒ Object
17 18 19 |
# File 'lib/pubg/player/data/attributes.rb', line 17 def createdAt @args["createdAt"] end |
#name ⇒ Object
29 30 31 |
# File 'lib/pubg/player/data/attributes.rb', line 29 def name @args["name"] end |
#patchVersion ⇒ Object
25 26 27 |
# File 'lib/pubg/player/data/attributes.rb', line 25 def patchVersion @args["patchVersion"] end |
#shardId ⇒ Object
13 14 15 |
# File 'lib/pubg/player/data/attributes.rb', line 13 def shardId @args["shardId"] end |
#stats ⇒ Object
33 34 35 |
# File 'lib/pubg/player/data/attributes.rb', line 33 def stats @args["stats"] end |
#titleId ⇒ Object
9 10 11 |
# File 'lib/pubg/player/data/attributes.rb', line 9 def titleId @args["titleId"] end |
#updatedAt ⇒ Object
21 22 23 |
# File 'lib/pubg/player/data/attributes.rb', line 21 def updatedAt @args["updatedAt"] end |