Module: TicketEvolution::EndpointBehavior

Defined in:
lib/ticket_evolution/core/model/parental_behavior.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args) ⇒ Object



4
5
6
# File 'lib/ticket_evolution/core/model/parental_behavior.rb', line 4

def method_missing(method, *args)
  @endpoint.send(method, *args)
end

Instance Method Details

#endpoint=(e) ⇒ Object



3
# File 'lib/ticket_evolution/core/model/parental_behavior.rb', line 3

def endpoint=(e); @endpoint = e; end