Class: AxiomusApi::Items
Instance Attribute Summary
Attributes included from Validated
Instance Method Summary collapse
Methods inherited from Base
attribute_meta, extract_options, #initialize, tag_name, #tag_name, xml_attribute, xml_element, xml_field, xml_field_array
Methods included from Validated
Methods included from Serializable
Constructor Details
This class inherits a constructor from AxiomusApi::Base
Instance Method Details
#add_item ⇒ Object
8 9 10 11 12 |
# File 'lib/axiomus_api/items/items.rb', line 8 def add_item new_item = AxiomusApi::Item.new item << new_item new_item end |