Sha256: 907265a7c1a154b35b39e616d03c156706266944987afc540159ed8cacb14431

Contents?: true

Size: 257 Bytes

Versions: 4

Compression:

Stored size: 257 Bytes

Contents

module Scouter
  module Base
    module Connection
      # get response by url
      # @param [String] url url which returns json
      # @return [String] object by http request
      def get_response(url)
        open(url).read
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
scouter-0.0.7 lib/scouter/base/connection.rb
scouter-0.0.6 lib/scouter/base/connection.rb
scouter-0.0.5 lib/scouter/base/connection.rb
scouter-0.0.4 lib/scouter/base/connection.rb