Sha256: 2d61a8f5c7327025f96c4ec1b01c7f3aae5e6eb4f52c757795d6ec57d3929002
Contents?: true
Size: 558 Bytes
Versions: 1
Compression:
Stored size: 558 Bytes
Contents
require "kimonolabs/version" require "httparty" module Kimonolabs include HTTParty base_uri "kimonolabs.com" def self.dollar get("/api/7acfik62?apikey=HrRWAYocaxgrwCa2iEDchWNAGTZw10Vu").parsed_response["results"]["collection1"].first["dollars"] end def self.brent get("/api/c0y6dxlg?apikey=HrRWAYocaxgrwCa2iEDchWNAGTZw10Vu").parsed_response["results"]["collection1"].first["brent"] end def self.gold get("/api/b338nvme?apikey=HrRWAYocaxgrwCa2iEDchWNAGTZw10Vu").parsed_response["results"]["collection1"].first["oncedor"] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kimonolabs-0.0.3 | lib/kimonolabs.rb |