Class: Rews::View::IndexedPageFolderView
Overview
models the IndexedPageFolderView used in Folder::BaseFolderId.find_folder
methods
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(view) ⇒ IndexedPageFolderView
constructor
A new instance of IndexedPageFolderView.
- #to_xml ⇒ Object
Methods inherited from Base
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_xml ⇒ Object
46 47 48 |
# File 'lib/rews/view.rb', line 46 def to_xml Xml::write_item_view(:IndexedPageFolderView, view) end |