class Pohoda::Parsers::Ctg::ActionTypeType5

Public Instance Methods

add() click to toggle source
# File lib/pohoda/parsers/ctg/action_type_type5.rb, line 7
def add
  submodel_at(Ftr::RequestCategoryActionType, 'ctg:add')
end
to_h() click to toggle source
# File lib/pohoda/parsers/ctg/action_type_type5.rb, line 15
def to_h
  hash = {}
  hash[:attributes] = attributes

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

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