How to Install ruby-httparty in Ubuntu 18.04



Install ruby-httparty by entering the following commands in the terminal:

sudo apt update
sudo apt install ruby-httparty

Description:

quick web service consumption from any Ruby class

HTTParty is a Ruby library to build easily classes that can use Web-based APIs and related services. At its simplest, the HTTParty module is included within a class, which gives the class a "get" method that can retrieve data over HTTP. Further directives, however, instruct HTTParty to parse results (XML, JSON, and so on), define base URIs for the requests, and define HTTP authentication information.

Homepage: http://jnunemaker.github.com/httparty

Version: 0.15.6-1

Section: universe/ruby