lib/sorenson/services/group.rb in 360_services-1.0.5 vs lib/sorenson/services/group.rb in 360_services-1.0.6
- old
+ new
@@ -35,9 +35,11 @@
return new(data['group']) if data['group']
nil
end
def add_asset(asset)
+ # If you have an Asset it memory, using this method does not update the assets state
+ # You would need to "Re"-find the asset to get the update to date state
Base.put_to("/groups/#{id}/assets/#{asset.id}")
end
def add_user(user_id)
Base.put_to("/groups/#{id}/users/#{user_id}")
\ No newline at end of file