class BtcPrice::Runner
Public Class Methods
run()
click to toggle source
# File lib/btc_price/runner.rb, line 3 def self.run "External services status: #{(ServicesHealth.new.healthy? ? 'Good.' : 'Bad.')}"\ "\nCurrent BTC price: $#{sprintf("%.2f", Price.current_price)}." end