Method: FCS::Client#method_missing

Defined in:
lib/fcs/client.rb

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

Delgate api call to Request



32
33
34
35
36
37
# File 'lib/fcs/client.rb', line 32

def method_missing(method, *args, &block)
  klass = class_for_api_command(method)

  return klass.new(@socket).send(method, *args, &block) if klass
  super(method, *args, &block)
end