lib/money_s3/parsers/stredisko.rb in money_s3-0.10.0 vs lib/money_s3/parsers/stredisko.rb in money_s3-0.11.0

- old
+ new

@@ -1,31 +1,7 @@ -require 'money_s3/parsers/base_parser' - module MoneyS3 module Parsers - class Stredisko - include BaseParser - - def zkrat - at 'Zkrat' - end - - def nazev - at 'Nazev' - end - - def pozn - at 'Pozn' - end - - def to_h_with_attrs - hash = HashWithAttributes.new({}, attributes) - - hash[:zkrat] = zkrat if has? 'Zkrat' - hash[:nazev] = nazev if has? 'Nazev' - hash[:pozn] = pozn if has? 'Pozn' - - hash - end + class Stredisko < StrediskoType + include ParserCore::BaseParser end end end \ No newline at end of file