Sha256: 73c0fba170222def9202b1298b50155bc91dc5cb73818f2aea5a0430eb57f015
Contents?: true
Size: 430 Bytes
Versions: 2
Compression:
Stored size: 430 Bytes
Contents
require 'xmlrpc/client' module LJ class Request def initialize( function , options) @client = XMLRPC::Client.new( "www.livejournal.com", "/interface/xmlrpc") @function = function @options = options end def self.perform(function,options = {}) new(function,options).send end def send() @client.call("LJ.XMLRPC.#{@function}", @options) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lj-0.3.0 | lib/lj/request.rb |
lj-0.2.0 | lib/lj/request.rb |