Class: Beatr::Config
- Inherits:
-
Object
- Object
- Beatr::Config
- Defined in:
- lib/beatr.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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
#host ⇒ Object
Returns the value of attribute host.
30 31 32 |
# File 'lib/beatr.rb', line 30 def host @host end |
#name ⇒ Object
Returns the value of attribute name.
29 30 31 |
# File 'lib/beatr.rb', line 29 def name @name end |