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.42.0 lib/acfs/model/operational.rb
acfs-0.41.1 lib/acfs/model/operational.rb
acfs-0.41.1.beta1 lib/acfs/model/operational.rb
acfs-0.41.0 lib/acfs/model/operational.rb
acfs-0.40.1.rc1 lib/acfs/model/operational.rb
acfs-0.40.0 lib/acfs/model/operational.rb
acfs-0.39.1 lib/acfs/model/operational.rb
acfs-0.39.0 lib/acfs/model/operational.rb
acfs-0.38.0 lib/acfs/model/operational.rb
acfs-0.37.0.1.b295 lib/acfs/model/operational.rb
acfs-0.37.0 lib/acfs/model/operational.rb
acfs-0.36.0.1.b293 lib/acfs/model/operational.rb
acfs-0.36.0 lib/acfs/model/operational.rb
acfs-0.35.0.1.b291 lib/acfs/model/operational.rb
acfs-0.35.0 lib/acfs/model/operational.rb
acfs-0.34.1.1.b289 lib/acfs/model/operational.rb
acfs-0.34.1 lib/acfs/model/operational.rb
acfs-0.34.0.1.b288 lib/acfs/model/operational.rb
acfs-0.34.0.1.b287 lib/acfs/model/operational.rb
acfs-0.34.0.1.b286 lib/acfs/model/operational.rb