lib/sportradar/api/soccer/player.rb in sportradar-api-0.1.15 vs lib/sportradar/api/soccer/player.rb in sportradar-api-0.1.16
- old
+ new
@@ -15,11 +15,11 @@
@reference_id = data["reference_id"]
@full_first_name = data["full_first_name"]
@full_last_name = data["full_last_name"]
@full_name = full_name
@position = data["position"]
- @position_name = get_position_name
+
@started = data["started"]
@jersey_number = data["jersey_number"]
@tactical_position = data["tactical_position"]
@tactical_order = data["tactical_order"]
@last_modified = data["last_modified"]
@@ -32,10 +32,10 @@
@weight_lb = data["weight_lb"]
@height_cm = data["height_cm"]
@weight_kg = data["weight_kg"]
@age = get_age
set_teams
-
+ @position_name = get_position_name
@rank = data["rank"]
@total = OpenStruct.new data["total"] if data["total"]
set_statistics
end