Class: Reflex::Base

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

Direct Known Subclasses

OAuthServer, System

Class Method Summary collapse

Class Method Details

.call(function, *arguments) ⇒ Object



16
17
18
19
# File 'lib/reflex/base.rb', line 16

def self.call(function, *arguments)
  client = XMLRPC::Client.new(config.hostname, config.path, config.port)
  client.call(function, *arguments)
end

.call!(function, *arguments) ⇒ Object



21
22
23
# File 'lib/reflex/base.rb', line 21

def self.call!(function, *arguments)
  call(function, config.key, config.secret, *arguments)
end