Class: Beatr::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/beatr.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



42
43
44
# File 'lib/beatr.rb', line 42

def initialize
  @host = 'https://pulse.crevalle.io'
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



39
40
41
# File 'lib/beatr.rb', line 39

def api_key
  @api_key
end

#hostObject

Returns the value of attribute host.



40
41
42
# File 'lib/beatr.rb', line 40

def host
  @host
end

#nameObject

Returns the value of attribute name.



38
39
40
# File 'lib/beatr.rb', line 38

def name
  @name
end

Instance Method Details

#endpointObject



54
55
56
# File 'lib/beatr.rb', line 54

def endpoint
  '/beats'
end