Class: PUBG::Match::Telemetry

Inherits:
Object
  • Object
show all
Defined in:
lib/pubg/match/telemetry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#createdAtObject (readonly)

Returns the value of attribute createdAt.



4
5
6
# File 'lib/pubg/match/telemetry.rb', line 4

def createdAt
  @createdAt
end

#descriptionObject (readonly)

Returns the value of attribute description.



4
5
6
# File 'lib/pubg/match/telemetry.rb', line 4

def description
  @description
end

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/pubg/match/telemetry.rb', line 4

def name
  @name
end

#URLObject (readonly)

Returns the value of attribute URL.



4
5
6
# File 'lib/pubg/match/telemetry.rb', line 4

def URL
  @URL
end