lib/sportradar/api/data.rb in sportradar-api-0.10.13 vs lib/sportradar/api/data.rb in sportradar-api-0.10.14
- old
+ new
@@ -44,10 +44,10 @@
# raise
end
existing
end
- # @param existing [Hash{String=>Data}] Existing data hasb, ID => entity
+ # @param existing [Hash{String=>Data}] Existing data hash, ID => entity
# @param data [Hash, Array] new data to update with
def create_data(existing = {}, data, klass: nil, **opts)
existing ||= {} # handles nil case, typically during object instantiation
case data
when [], {}