Class: Vortex::ArticleListingCollection

Inherits:
Collection show all
Defined in:
lib/vortex_client.rb

Overview

Article listing collection

Examaple:

collection = ArticleListingCollection.new(:url => 'news')
collection = ArticleListingCollection.new(:foldername => 'news')
collection = ArticleListingCollection.new(:title => 'My articles')
collection = ArticleListingCollection.new(:title => 'My articles',
                                          :foldername => 'articles',
                                          :navigationTitle => 'Read articles')

Instance Attribute Summary

Attributes inherited from Collection

#foldername, #introduction, #name, #navigationTitle, #owner, #sortByDate, #sortByTitle, #title, #url

Instance Method Summary collapse

Methods inherited from Collection

#initialize, #to_s

Constructor Details

This class inherits a constructor from Vortex::Collection

Instance Method Details

#propertiesObject


712
713
714
715
716
717
# File 'lib/vortex_client.rb', line 712

def properties()
  props = super
  props += '<v:resourceType xmlns:v="vrtx">article-listing</v:resourceType>'  +
           '<v:collection-type xmlns:v="vrtx">article-listing</v:collection-type>'
  return props
end