lib/duracloud/space_acls.rb in duracloud-client-0.0.3 vs lib/duracloud/space_acls.rb in duracloud-client-0.1.0
- old
+ new
@@ -9,12 +9,16 @@
def initialize(space)
super()
@space = space
if space.persisted?
- response = Client.get_space_acls(space.id)
- update SpaceAcls.filter(response.headers)
+ response = Client.get_space_acls(space.space_id, **query)
+ update filter(response.headers)
end
+ end
+
+ def query
+ { storeID: space.store_id }
end
end
end