Sha256: 143d222f84687557c518b2796efbcaf289a9231804c2025f833c50df60b2461e

Contents?: true

Size: 425 Bytes

Versions: 2

Compression:

Stored size: 425 Bytes

Contents

module Esearch
  class Presenter

    # Base class for index operation result presenters
    class Index < self

      # Create operation presenter
      class Create < self
        expose_primitive :ok, :ok?
      end

      # Delete operation presenter
      class Delete < self
        expose_primitive :ok, :ok?
      end
      
      # Refresh operation presenter
      class Refresh < self
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
esearch-0.2.1 lib/esearch/presenter/index.rb
esearch-0.2.0 lib/esearch/presenter/index.rb