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

Version Path
daengine-0.7.3 app/models/content_service_resource.rb
daengine-0.7.2 app/models/content_service_resource.rb
daengine-0.7.1 app/models/content_service_resource.rb
daengine-0.7 app/models/content_service_resource.rb
daengine-0.6.23 app/models/content_service_resource.rb
daengine-0.6.22 app/models/content_service_resource.rb
daengine-0.6.21 app/models/content_service_resource.rb
daengine-0.6.20 app/models/content_service_resource.rb
daengine-0.6.19 app/models/content_service_resource.rb
daengine-0.6.18 app/models/content_service_resource.rb
daengine-0.6.17 app/models/content_service_resource.rb
daengine-0.6.16 app/models/content_service_resource.rb
daengine-0.6.15 app/models/content_service_resource.rb
daengine-0.6.14 app/models/content_service_resource.rb
daengine-0.6.13 app/models/content_service_resource.rb
daengine-0.6.11 app/models/content_service_resource.rb
daengine-0.6.10 app/models/content_service_resource.rb
daengine-0.6.9 app/models/content_service_resource.rb
daengine-0.6.8 app/models/content_service_resource.rb
daengine-0.6.5 app/models/content_service_resource.rb