Class: Rews::View::IndexedPageFolderView

Inherits:
Base
  • Object
show all
Defined in:
lib/rews/view.rb

Overview

models the IndexedPageFolderView used in Folder::BaseFolderId.find_folder methods

Instance Attribute Summary

Attributes inherited from Base

#view

Instance Method Summary collapse

Methods inherited from Base

#inspect

Methods included from Util

apply_namespace, camel_keys, camelize, camelize_qname, check_opts, rsxml_to_xml, single_error_check, strip_bang, tag_exception, with_error_check

Constructor Details

#initialize(view) ⇒ IndexedPageFolderView

Returns a new instance of IndexedPageFolderView.



42
43
44
# File 'lib/rews/view.rb', line 42

def initialize(view)
  @view = check_opts(INDEXED_PAGE_VIEW_OPTS, view)
end

Instance Method Details

#to_xmlObject



46
47
48
# File 'lib/rews/view.rb', line 46

def to_xml
  Xml::write_item_view(:IndexedPageFolderView, view)
end