lib/acfs/operation.rb in acfs-0.23.2 vs lib/acfs/operation.rb in acfs-0.24.0.b210
- old
+ new
@@ -6,9 +6,10 @@
# processing as well as error handling and stubbing.
#
class Operation
attr_reader :action, :params, :resource, :data, :callback
delegate :service, to: :resource
+ delegate :call, to: :callback
def initialize(resource, action, opts = {}, &block)
@resource = resource
@action = action.to_sym
@params = opts[:params] || {}