Class: OpenHAB::DSL::Things::BridgeBuilder
- Inherits:
 - 
      ThingBuilder
      
        
- Object
 - ThingBuilder
 - OpenHAB::DSL::Things::BridgeBuilder
 
 
- Defined in:
 - lib/openhab/dsl/things/builder.rb
 
Overview
The BridgeBuilder DSL allows you to customize a thing
Instance Attribute Summary
Attributes inherited from ThingBuilder
#bridge_uid, #channels, #config, #enabled, #label, #location, #thing_type_uid, #uid
Instance Method Summary collapse
- 
  
    
      #bridge(*args, **kwargs, &block)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Create a new Bridge with this Bridge as its Bridge.
 - 
  
    
      #thing(*args, **kwargs, &block)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Create a new Thing with this Bridge as its Bridge.
 
Methods inherited from ThingBuilder
Constructor Details
This class inherits a constructor from OpenHAB::DSL::Things::ThingBuilder
Instance Method Details
#bridge(*args, **kwargs, &block) ⇒ Object
Create a new Bridge with this Bridge as its Bridge
      249 250 251  | 
    
      # File 'lib/openhab/dsl/things/builder.rb', line 249 def bridge(*args, **kwargs, &block) super(*args, bridge: self, **kwargs, &block) end  | 
  
#thing(*args, **kwargs, &block) ⇒ Object
Create a new Thing with this Bridge as its Bridge
      255 256 257  | 
    
      # File 'lib/openhab/dsl/things/builder.rb', line 255 def thing(*args, **kwargs, &block) super(*args, bridge: self, **kwargs, &block) end  |