Sha256: 48fb304da3a2ffbc38c787b1ac7c0d612dec9f064d7dc5db398e2e50ad21d663
Contents?: true
Size: 559 Bytes
Versions: 1
Compression:
Stored size: 559 Bytes
Contents
require "kimonolabs/version" require "httparty" module Kimonolabs include HTTParty base_uri "kimonolabs.com" def self.dollars get("/api/7bq23hf4?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.2 | lib/kimonolabs.rb |