Ruby on Rails Friday, June 2, 2017

hmm, the canada post gem requires httparty as a runtime dependency.   Does it automatically get bundled with it, or do I need to bundle it myself?


On Thursday, June 1, 2017 at 12:29:18 PM UTC-4, steve enzer wrote:
httparty might do the job

On Wednesday, May 31, 2017 at 10:27:42 AM UTC-7, Joe Guerra wrote:
Hmm, which gem would allow you to perform http requests within Rails?  I would like to send a request to the canadapost website and pass it some parameters and return a shipping total.

I do believe there is a canadapost gem, but I'm not sure how upto date it is.

I guess the other option is to like add paramters to a url and open that page on a new tab?

Thanks,
Joe

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b97d3651-77b8-4995-b705-0b4c35db561c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment