Sha256: a01667a7e4f47d7cff69c4528cb158feb3be781a05d7fca016678b7164591793
Contents?: true
Size: 628 Bytes
Versions: 31
Compression:
Stored size: 628 Bytes
Contents
require 'active_resource' require 'daengine' # 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
Version data entries
31 entries across 31 versions & 1 rubygems