search for: list_galleries

Displaying 1 result from an estimated 1 matches for "list_galleries".

2006 Jan 12
1
activewebservice::struct
So I''m playing with AWS. I''ve got a thing called a gallery. I''d like to return a list of them. I can do this fine if I want to return my ActiveRecord objects: class WxApiApi < ActionWebService::API::Base api_method :list_galleries, :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 awsGal...