Class: Parsers::NewsParser
- Inherits:
-
Object
- Object
- Parsers::NewsParser
- Defined in:
- lib/winewoo_core/services/elastic_search/parsers/news_parser.rb
Class Method Summary collapse
Class Method Details
.parse(raw_data, parse_error) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/winewoo_core/services/elastic_search/parsers/news_parser.rb', line 7 def parse(raw_data, parse_error) if parse_error else render_data(raw_data) end end |