class Pohoda::Parsers::Stk::PictureType
Public Instance Methods
action_type()
click to toggle source
# File lib/pohoda/parsers/stk/picture_type.rb, line 7 def action_type submodel_at(Typ::ActionTypeItem, 'stk:actionType') end
description()
click to toggle source
# File lib/pohoda/parsers/stk/picture_type.rb, line 27 def description at 'stk:description' end
description_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/picture_type.rb, line 31 def description_attributes attributes_at 'stk:description' end
filepath()
click to toggle source
# File lib/pohoda/parsers/stk/picture_type.rb, line 19 def filepath at 'stk:filepath' end
filepath_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/picture_type.rb, line 23 def filepath_attributes attributes_at 'stk:filepath' end
id()
click to toggle source
# File lib/pohoda/parsers/stk/picture_type.rb, line 11 def id at 'stk:id' end
id_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/picture_type.rb, line 15 def id_attributes attributes_at 'stk:id' end
order()
click to toggle source
# File lib/pohoda/parsers/stk/picture_type.rb, line 35 def order at 'stk:order' end
order_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/picture_type.rb, line 39 def order_attributes attributes_at 'stk:order' end
to_h()
click to toggle source
# File lib/pohoda/parsers/stk/picture_type.rb, line 43 def to_h hash = {} hash[:attributes] = attributes hash[:action_type] = action_type.to_h if has? 'stk:actionType' hash[:id] = id if has? 'stk:id' hash[:id_attributes] = id_attributes if has? 'stk:id' hash[:filepath] = filepath if has? 'stk:filepath' hash[:filepath_attributes] = filepath_attributes if has? 'stk:filepath' hash[:description] = description if has? 'stk:description' hash[:description_attributes] = description_attributes if has? 'stk:description' hash[:order] = order if has? 'stk:order' hash[:order_attributes] = order_attributes if has? 'stk:order' hash end