Class: Rews::View::IndexedPageItemView
Overview
models the IndexedPageItemView used in Folder::BaseFolderId.find_item
method
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(view) ⇒ IndexedPageItemView
constructor
A new instance of IndexedPageItemView.
- #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) ⇒ IndexedPageItemView
Returns a new instance of IndexedPageItemView.
31 32 33 |
# File 'lib/rews/view.rb', line 31 def initialize(view) @view = check_opts(INDEXED_PAGE_VIEW_OPTS, view) end |
Instance Method Details
#to_xml ⇒ Object
35 36 37 |
# File 'lib/rews/view.rb', line 35 def to_xml Xml::write_item_view(:IndexedPageItemView, view) end |