Forum: Ruby on Rails web_client_api within ActiveRecord

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ba7d437514e0821938d4f783e1ffd01b?d=identicon&s=25 Britton Nielsen (Guest)
on 2006-03-21 17:13
Hi,

Is it possible to use web_client_api or
ActionWebService::Client::Soap.new within an ActiveRecord model to
access a webservice?

Thanks
3ccecc71b9fb0a3d7f00a0bef6f0a63a?d=identicon&s=25 Kent Sibilev (Guest)
on 2006-03-21 18:00
(Received via mailing list)
I don't see why not, but I'd rather initialize it in a controller and
pass
it to the model as a parameter.

Kent.
This topic is locked and can not be replied to.