Class: Parser::Simple

Inherits:
HTTParty::Parser
  • Object
show all
Defined in:
lib/capsulecrm/base.rb

Overview

This is needed for PUT and POST requests because the capsule API returns html if the request is unsuccessful. HTTParty’s default xlm parser crashes if fed html so this parser is used for PUT/POST

Instance Method Summary collapse

Instance Method Details

#parseObject



11
# File 'lib/capsulecrm/base.rb', line 11

def parse; body; end