Class: PUBG::Player::Season::Data
- Inherits:
-
Object
- Object
- PUBG::Player::Season::Data
show all
- Defined in:
- lib/pubg/player/season/data.rb,
lib/pubg/player/season/attributes.rb,
lib/pubg/player/season/data/stats.rb,
lib/pubg/player/season/data/attributes.rb,
lib/pubg/player/season/data/relationships.rb,
lib/pubg/player/season/data/game_mode_stats.rb,
lib/pubg/player/season/data/relationships/player.rb,
lib/pubg/player/season/data/relationships/season.rb,
lib/pubg/player/season/data/relationships/matches.rb
Defined Under Namespace
Classes: Attributes, Relationships
Instance Method Summary
collapse
Constructor Details
#initialize(args) ⇒ Data
Returns a new instance of Data.
8
9
10
|
# File 'lib/pubg/player/season/data.rb', line 8
def initialize(args)
@args = args
end
|
Instance Method Details
#attributes ⇒ Object
16
17
18
|
# File 'lib/pubg/player/season/data.rb', line 16
def attributes
Attributes.new(@args["attributes"])
end
|
#relationships ⇒ Object
20
21
22
|
# File 'lib/pubg/player/season/data.rb', line 20
def relationships
Relationships.new(@args["relationships"])
end
|
#type ⇒ Object
12
13
14
|
# File 'lib/pubg/player/season/data.rb', line 12
def type
@args["type"]
end
|