Class: HrtBus::Config

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

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.buses_uriObject

Returns the value of attribute buses_uri.



3
4
5
# File 'lib/hrt_bus/config.rb', line 3

def buses_uri
  @buses_uri
end

.timeoutObject

Returns the value of attribute timeout.



3
4
5
# File 'lib/hrt_bus/config.rb', line 3

def timeout
  @timeout
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



5
6
7
# File 'lib/hrt_bus/config.rb', line 5

def self.configure(&block)
  yield self
end