Class: DiscountNetwork::Base

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

Direct Known Subclasses

Account, Activation, Booking, Password, Provider, Supplementary

Class Method Summary collapse

Class Method Details

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



3
4
5
6
7
8
9
# File 'lib/discountnetwork/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