Sha256: 028f7c2548ff2c0e323cbfec676c4a4a0e1346128c5f220d28f69eb979bea154

Contents?: true

Size: 398 Bytes

Versions: 5

Compression:

Stored size: 398 Bytes

Contents

module Kangaroo
  module Util
    class Proxy::Workflow < Proxy
      # Advance workflow via exec_workflow on OpenERPs object service.
      #
      # @param name function name to call
      # @param model_name OpenERP model to execute the function on
      # @return returned value
      def call! name, model_name, id
        super :exec_workflow, model_name, id, name
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kangaroo-0.1.0.alpha1 lib/kangaroo/util/proxy/workflow.rb
kangaroo-0.0.3 lib/kangaroo/util/proxy/workflow.rb
kangaroo-0.0.2 lib/kangaroo/util/proxy/workflow.rb
kangaroo-0.0.1.pre2 lib/kangaroo/util/proxy/workflow.rb
kangaroo-0.0.1.pre lib/kangaroo/util/proxy/workflow.rb