class Pohoda::Parsers::Adb::ActionTypeType7
Public Instance Methods
add()
click to toggle source
# File lib/pohoda/parsers/adb/action_type_type7.rb, line 7 def add submodel_at(Ftr::RequestAddressBookActionType, 'adb:add') end
delete()
click to toggle source
# File lib/pohoda/parsers/adb/action_type_type7.rb, line 15 def delete submodel_at(Ftr::RequestAddressBookType, 'adb:delete') end
to_h()
click to toggle source
# File lib/pohoda/parsers/adb/action_type_type7.rb, line 19 def to_h hash = {} hash[:attributes] = attributes hash[:add] = add.to_h if has? 'adb:add' hash[:update] = update.to_h if has? 'adb:update' hash[:delete] = delete.to_h if has? 'adb:delete' hash end
update()
click to toggle source
# File lib/pohoda/parsers/adb/action_type_type7.rb, line 11 def update submodel_at(Ftr::RequestAddressBookActionType, 'adb:update') end