Class: APIObject

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

Overview

Implements the convienience

Class Method Summary collapse

Class Method Details

.method_missing(*args) ⇒ Object



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

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

  result = INWX.instance.call(*args)

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

  result['resData']
end