define_parser, #initialize, #parse_body?, #parse_response?, #parse_response_type?, #process_body, #response_type
Instance Method Details #parse(body) ⇒ Object13 14 15 16 17 18 19 20 21 22
# File 'lib/github_api/response/mashify.rb', line 13 def parse(body) case body when Hash self.class.parser.call body when Array body.map { |item| item.is_a?(Hash) ? self.class.parser.call(item) : item } else body end end
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4