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.
Britton Nielsen (Guest)
on 2006-03-21 18:13
Hi,

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

Thanks
Kent S. (Guest)
on 2006-03-21 19: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.