Method: FCS::Request#method_missing

Defined in:
lib/fcs/request.rb

#method_missing(method, *args, &block) ⇒ Object



35
36
37
38
39
40
41
42
# File 'lib/fcs/request.rb', line 35

def method_missing(method, *args, &block)
  if @response_class.method_defined?(method)
    dispatch!.send(method, *args, &block)
  else
    update_command(method, *args, &block)
    self
  end
end