Class: AtlasClient::Finder
- Inherits:
-
Object
- Object
- AtlasClient::Finder
- Defined in:
- lib/atlas_client/finder.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.get_json(url) ⇒ Object
6 7 8 9 |
# File 'lib/atlas_client/finder.rb', line 6 def self.get_json url response = Net::HTTP.get URI.parse(url) JSON.parse response end |