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.



32
33
34
# File 'lib/beatr.rb', line 32

def initialize
  @host = 'http://beatr.io'
end

Instance Attribute Details

#hostObject

Returns the value of attribute host.



30
31
32
# File 'lib/beatr.rb', line 30

def host
  @host
end

#nameObject

Returns the value of attribute name.



29
30
31
# File 'lib/beatr.rb', line 29

def name
  @name
end