Class: Tinybucket::Parser::CollectionParser

Inherits:
FaradayMiddleware::ResponseMiddleware
  • Object
show all
Defined in:
lib/tinybucket/parser/collection_parser.rb

Instance Method Summary collapse

Instance Method Details

#parse_response?(env) ⇒ Boolean

Returns:

  • (Boolean)

12
13
14
# File 'lib/tinybucket/parser/collection_parser.rb', line 12

def parse_response?(env)
  env[:body].is_a? Hash
end