# Represents a generic piece of content for display on an OFI web property # This model represents the 'human edited' version of website content, final displayed # pages will be 'value added' with system-sourced data and 'mashed-in' data # class ContentServiceResource < ActiveResource::Base self.site = Daengine.config[:content_service_url] self.prefix = "/litcenter-service/query/" self.element_name = "resource" def self.find_all ContentServiceResource.find(:all, :params => {:contentQuery => "audienceIds='490,5270';;expired='false'"}) end end