class Pohoda::Parsers::Typ::ActionTypeItemAddDelete
Public Instance Methods
add()
click to toggle source
# File lib/pohoda/parsers/typ/action_type_item_add_delete.rb, line 7 def add at 'typ:add' end
add_attributes()
click to toggle source
# File lib/pohoda/parsers/typ/action_type_item_add_delete.rb, line 11 def add_attributes attributes_at 'typ:add' end
delete()
click to toggle source
# File lib/pohoda/parsers/typ/action_type_item_add_delete.rb, line 15 def delete submodel_at(Ftr::RequestItemType, 'typ:delete') end
to_h()
click to toggle source
# File lib/pohoda/parsers/typ/action_type_item_add_delete.rb, line 19 def to_h hash = {} hash[:attributes] = attributes hash[:add] = add if has? 'typ:add' hash[:add_attributes] = add_attributes if has? 'typ:add' hash[:delete] = delete.to_h if has? 'typ:delete' hash end