module Elasticsearch::Persistence::GatewayDelegation

Delegate methods to the repository (acting as a gateway)

Public Instance Methods

method_missing(method_name, *arguments, &block) click to toggle source
Calls superclass method
# File lib/elasticsearch/persistence/repository.rb, line 7
def method_missing(method_name, *arguments, &block)
  gateway.respond_to?(method_name) ? gateway.__send__(method_name, *arguments, &block) : super
end
respond_to?(method_name, include_private=false) click to toggle source
Calls superclass method
# File lib/elasticsearch/persistence/repository.rb, line 11
def respond_to?(method_name, include_private=false)
  gateway.respond_to?(method_name) || super
end
respond_to_missing?(method_name, *) click to toggle source
Calls superclass method
# File lib/elasticsearch/persistence/repository.rb, line 15
def respond_to_missing?(method_name, *)
  gateway.respond_to?(method_name) || super
end