------art_109270_27931451.1186383202752
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

2007/8/4, Dan <dan.gottlieb / gmail.com>:
> Ok, I see where you were going now.  I guess I could go in that
> direction, but since sending functions and objects to the web service
> is just done via POST params, so I'd rather route all the requests to
> the "call" class method on my API class.  Any ideas on how to do this
> without having to create a instance of the API class (or any class)
> just to store the "object" name ?

This is what I'd do (attached).  Note, you need to know the number of
invocations in this example.  The pattern could however use other
criteria for triggering the action.

Kind regards

robert

------art_109270_27931451.1186383202752
Content-Type: application/x-ruby; name=call-recorder.rb
Content-Transfer-Encoding: base64
X-Attachment-Id: f_f50lw6x7
Content-Disposition: attachment; filename="call-recorder.rb"

IyFydWJ5DQoNCiMgcmVjb3JkIGludm9jYXRpb25zIGFuZCBhY3QgaWYgYSBjZXJ0YWluDQojIG51
bWJlciBvZiBjYWxscyBpcyByZWFjaGVkDQojIG90aGVyIHRlcm1pbmF0aW9uIGNvbmRpdGlvbnMg
Y2FuIGJlIHRob3VnaA0KIyBvZiBhcyB3ZWxsDQpjbGFzcyBDYWxsUmVjb3JkZXINCiAgZGVmIGlu
aXRpYWxpemUoY2FsbHMsJmIpDQogICAgQGNhbGxzID0gY2FsbHMNCiAgICBAYWN0aW9uID0gYg0K
ICAgIEBhcmdzID0gW10NCiAgZW5kDQogIA0KICBkZWYgbWV0aG9kX21pc3NpbmcoKmEpDQogICAg
QGFyZ3MgPDwgYQ0KDQogICAgaWYgQGFyZ3Muc2l6ZSA9PSBAY2FsbHMNCiAgICAgIEBhY3Rpb25b
QGFyZ3NdDQogICAgZWxzaWYgQGFyZ3Muc2l6ZSA+IEBjYWxscw0KICAgICAgc3VwZXINCiAgICBl
bmQNCiAgICBzZWxmDQogIGVuZA0KICANCiAgIyB1bmRlZmluZSBzdGFuZGFyZCBtZXRob2RzIGhl
cmUNCmVuZA0KDQoNCmNsYXNzIEludm9rZXINCiAgZGVmIGZvbw0KICAgIENhbGxSZWNvcmRlci5u
ZXcgMiBkbyB8YXJnc3wNCiAgICAgIHByaW50ICJDaGFpbiBpcyAiLCBhcmdzLmluc3BlY3QsICJc
biINCiAgICBlbmQNCiAgZW5kDQplbmQNCg0KDQppID0gSW52b2tlci5uZXcNCmkuZm9vLmJhcigx
LDIpLmJheg0KDQppID0gSW52b2tlci5uZXcNCmkuZm9vLmJhcigxLDIpLmJhei5nb28NCg------art_109270_27931451.1186383202752--