Method: APIObject.method_missing

Defined in:
lib/inwx.rb

.method_missing(*args) ⇒ Object



23
24
25
26
27
28
29
30
31
# File 'lib/inwx.rb', line 23

def self.method_missing(*args)
  args = [name.downcase] + args

  result = INWX.instance.call(*args)

  puts YAML.dump(result) if CONFIG[:debug]

  result['resData']
end