Class: Munna::Proxy::Delete

Inherits:
Base
  • Object
show all
Defined in:
lib/munna/proxy/base.rb

Class Method Summary collapse

Methods inherited from Base

#__perform__, #initialize, #method_missing

Constructor Details

This class inherits a constructor from Munna::Proxy::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Munna::Proxy::Base

Class Method Details

.builder(kclass, target, options = {}, &block) ⇒ Object



27
28
29
30
# File 'lib/munna/proxy/base.rb', line 27

def self.builder(kclass, target, options={}, &block)
  instance = new kclass, target, options, &block
  options[:key].present? ? instance.__perform__(Execute.new target) : instance
end