Displaying 1 result from an estimated 1 matches for "awsgallery".
2006 Jan 12
1
activewebservice::struct
...leries,
:expects=>[{:login=>:string}],
:returns => [[Gallery]]
end
But the ActiveRecord object exposes a lot more than I really want to
return via the web service. So I''m told I should dervice something from
ActiveWebService::Struct, which I did:
class awsGallery < ActionWebService::Struct
member :id, :int
end
I can''t for the life of me get this to work. I''ve called it
awsGallery.rb and stuck it in app/models. I''ve changed the web service
accordingly:
class WxApiApi < ActionWebService::API::Base
api_method :list_gal...