Module: Scouter::Base::Connection
- Included in:
- Object
- Defined in:
- lib/scouter/base/connection.rb
Instance Method Summary collapse
-
#get_response(url) ⇒ String
get response by url.
Instance Method Details
#get_response(url) ⇒ String
get response by url
7 8 9 |
# File 'lib/scouter/base/connection.rb', line 7 def get_response(url) open(url).read end |