lib/netzke/grid/endpoints.rb in netzke-basepack-1.0.0.0.pre3 vs lib/netzke/grid/endpoints.rb in netzke-basepack-1.0.0.0
- old
+ new
@@ -82,10 +82,10 @@
end
end
# Attempts a given operation on the data. Checks permissions first.
# @param [Symbol] Operation: :create, :read, :update, or :delete
- # @param [Array] Workload of operation data
+ # @param [Array|Hash] Workload of operation data
# @param [Netzke::Core::EndpointResponse] Object collecting response to the client
def attempt_operation(op, data, client)
if allowed_to?(op)
send(op, data)
else