Sha256: 693bae14127d6ba7e56b84358b54fe6a933c1a12bb6d0afbc5dd0b7f8710d198

Contents?: true

Size: 554 Bytes

Versions: 111

Compression:

Stored size: 554 Bytes

Contents

module Acfs::Model

  # @api private
  #
  # Provide methods for creating and processing CRUD operations and
  # handling responses. That includes error handling as well as
  # handling stubbed resources.
  #
  # Should only be used internal.
  #
  module Operational
    extend ActiveSupport::Concern
    delegate :operation, to: :'self.class'

    module ClassMethods

      # Invoke CRUD operation.
      def operation(action, opts = {}, &block)
        Acfs.runner.process ::Acfs::Operation.new self, action, opts, &block
      end
    end
  end
end

Version data entries

111 entries across 111 versions & 1 rubygems

Version Path
acfs-0.34.0 lib/acfs/model/operational.rb
acfs-0.33.1.1.b285 lib/acfs/model/operational.rb
acfs-0.33.1.1.b281 lib/acfs/model/operational.rb
acfs-0.33.1 lib/acfs/model/operational.rb
acfs-0.33.0.1.b278 lib/acfs/model/operational.rb
acfs-0.33.0 lib/acfs/model/operational.rb
acfs-0.32.1.1.b277 lib/acfs/model/operational.rb
acfs-0.32.1.1.b276 lib/acfs/model/operational.rb
acfs-0.32.1.1.b275 lib/acfs/model/operational.rb
acfs-0.32.1.1.b274 lib/acfs/model/operational.rb
acfs-0.32.1.1.b272 lib/acfs/model/operational.rb
acfs-0.32.1 lib/acfs/model/operational.rb
acfs-0.32.0.1.b270 lib/acfs/model/operational.rb
acfs-0.31.0.1.b269 lib/acfs/model/operational.rb
acfs-0.32.0 lib/acfs/model/operational.rb
acfs-0.31.0.1.b265 lib/acfs/model/operational.rb
acfs-0.31.0.1.b263 lib/acfs/model/operational.rb
acfs-0.31.0 lib/acfs/model/operational.rb
acfs-0.30.0.1.b262 lib/acfs/model/operational.rb
acfs-0.30.0.1.b261 lib/acfs/model/operational.rb