Class: AnalogBridge::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/analogbridge/base.rb

Direct Known Subclasses

Customer, Order, Product

Class Method Summary collapse

Class Method Details

.method_missing(method_name, *arguments, &block) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/analogbridge/base.rb', line 3

def self.method_missing(method_name, *arguments, &block)
  if new.respond_to?(method_name, include_private: false)
    new.send(method_name, *arguments, &block)
  else
    super
  end
end