Module: ZcBroker::ApiCall
- Defined in:
- lib/zc_broker/api_call.rb
Class Method Summary collapse
Class Method Details
.get(url) ⇒ Object
6 7 8 9 |
# File 'lib/zc_broker/api_call.rb', line 6 def self.get(url) response = RestClient.get(url) return JSON.parse(response) end |