Class: PUBG::Match::Telemetry
- Inherits:
-
Object
- Object
- PUBG::Match::Telemetry
- Defined in:
- lib/pubg/match/telemetry.rb
Instance Attribute Summary collapse
-
#createdAt ⇒ Object
readonly
Returns the value of attribute createdAt.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#URL ⇒ Object
readonly
Returns the value of attribute URL.
Instance Method Summary collapse
-
#initialize(args) ⇒ Telemetry
constructor
A new instance of Telemetry.
Constructor Details
#initialize(args) ⇒ Telemetry
Returns a new instance of Telemetry.
6 7 8 9 10 11 |
# File 'lib/pubg/match/telemetry.rb', line 6 def initialize(args) @name = args["attributes"]["name"] @description = args["attributes"]["description"] @createdAt = args["attributes"]["createdAt"] @URL = args["attributes"]["URL"] end |
Instance Attribute Details
#createdAt ⇒ Object (readonly)
Returns the value of attribute createdAt.
4 5 6 |
# File 'lib/pubg/match/telemetry.rb', line 4 def createdAt @createdAt end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
4 5 6 |
# File 'lib/pubg/match/telemetry.rb', line 4 def description @description end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/pubg/match/telemetry.rb', line 4 def name @name end |
#URL ⇒ Object (readonly)
Returns the value of attribute URL.
4 5 6 |
# File 'lib/pubg/match/telemetry.rb', line 4 def URL @URL end |