class Beatr::Config
Attributes
api_key[RW]
host[R]
name[RW]
Public Class Methods
new()
click to toggle source
# File lib/beatr.rb, line 43 def initialize @host = 'https://pulse.crevalle.io' end
Public Instance Methods
endpoint()
click to toggle source
# File lib/beatr.rb, line 55 def endpoint '/beats' end
host=(url)
click to toggle source
# File lib/beatr.rb, line 47 def host= url if !url.include? 'http' @host = "http://#{url}" else @host = url end end