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.23.2 lib/acfs/model/operational.rb
acfs-0.23.1.b198 lib/acfs/model/operational.rb
acfs-0.23.1 lib/acfs/model/operational.rb
acfs-0.23.0.b197 lib/acfs/model/operational.rb
acfs-0.22.2.b196 lib/acfs/model/operational.rb
acfs-0.23.0 lib/acfs/model/operational.rb
acfs-0.22.2.b194 lib/acfs/model/operational.rb
acfs-0.22.2.b193 lib/acfs/model/operational.rb
acfs-0.22.2 lib/acfs/model/operational.rb
acfs-0.22.1.b192 lib/acfs/model/operational.rb
acfs-0.22.1 lib/acfs/model/operational.rb
acfs-0.22.0.b191 lib/acfs/model/operational.rb
acfs-0.22.0.b190 lib/acfs/model/operational.rb
acfs-0.22.0 lib/acfs/model/operational.rb
acfs-0.21.1.b189 lib/acfs/model/operational.rb
acfs-0.21.1.rc1.b188 lib/acfs/model/operational.rb
acfs-0.21.1 lib/acfs/model/operational.rb
acfs-0.21.0.rc1.b187 lib/acfs/model/operational.rb
acfs-0.21.1.rc1 lib/acfs/model/operational.rb
acfs-0.21.0.rc1 lib/acfs/model/operational.rb