Module: IRail::Request
- Defined in:
- lib/ruby-irail/http/request.rb
Class Method Summary collapse
Class Method Details
.get(url, options = {}) ⇒ Object
3 4 5 6 |
# File 'lib/ruby-irail/http/request.rb', line 3 def self.get(url, = {}) request = HTTParty.get(url, ) request.response.body end |