Sha256: 2e75ba774bc262f8645b491e247f60828c746c70cdd719415c8aa7fa1e4d42a2

Contents?: true

Size: 497 Bytes

Versions: 1

Compression:

Stored size: 497 Bytes

Contents

# encoding: UTF-8

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 # Create

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

      # Refresh operation presenter
      class Refresh < self
      end # Referesh

    end # Index
  end # Presenter
end # Esearch

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
esearch-0.2.2 lib/esearch/presenter/index.rb