class INWX
Wrapper for the INWX
XMLRPC Client
Public Class Methods
new()
click to toggle source
# File lib/inwx.rb, line 11 def initialize # Create a new client instance @client = XMLRPC::Client.new( CONFIG[:inwx_api], '/xmlrpc/', '443', nil, nil, nil, nil, true, 100 ) end
Public Instance Methods
call(object, method, params = {})
click to toggle source
# File lib/inwx.rb, line 18 def call(object, method, params = {}) @client.call("#{object}.#{method}", params) end