HubspotCommunity / hubspot-ruby

Ruby wrappers for the HubSpot REST API
https://developers.hubspot.com/docs/endpoints
MIT License
190 stars 257 forks source link

Returning boolean values hides helpful information #175

Open SViccari opened 5 years ago

SViccari commented 5 years ago

The Hubspot::Form#submit method only returns boolean values. True for successful submission and false for an unsuccessful submission.

It is useful however to be able to view the actual HTTParty::Response object directly in order to get more information in case of submission failure.