class PeatioAPI::Config
Public Class Methods
get_peatiorc(path)
click to toggle source
# File lib/peatio_api/config.rb, line 4 def self.get_peatiorc(path) if File.exist? path lines = File.readlines path [ lines[0].strip, lines[1].strip ] end end