class Pohoda::Parsers::Bka::ActionTypeType4

Public Instance Methods

add() click to toggle source
# File lib/pohoda/parsers/bka/action_type_type4.rb, line 7
def add
  submodel_at(Ftr::RequestExtIdActionType, 'bka:add')
end
delete() click to toggle source
# File lib/pohoda/parsers/bka/action_type_type4.rb, line 15
def delete
  submodel_at(Ftr::RequestExtIdType, 'bka:delete')
end
to_h() click to toggle source
# File lib/pohoda/parsers/bka/action_type_type4.rb, line 19
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:add] = add.to_h if has? 'bka:add'
  hash[:update] = update.to_h if has? 'bka:update'
  hash[:delete] = delete.to_h if has? 'bka:delete'

  hash
end
update() click to toggle source
# File lib/pohoda/parsers/bka/action_type_type4.rb, line 11
def update
  submodel_at(Ftr::RequestExtIdActionType, 'bka:update')
end