Class: RubyHome::HAP::HAPRequest
- Inherits:
-
WEBrick::HTTPRequest
- Object
- WEBrick::HTTPRequest
- RubyHome::HAP::HAPRequest
- Defined in:
- lib/ruby_home/hap/hap_request.rb
Instance Method Summary collapse
-
#initialize(config, session:) ⇒ HAPRequest
constructor
A new instance of HAPRequest.
- #meta_vars ⇒ Object
Constructor Details
#initialize(config, session:) ⇒ HAPRequest
Returns a new instance of HAPRequest.
4 5 6 7 |
# File 'lib/ruby_home/hap/hap_request.rb', line 4 def initialize(config, session:) @session = session super(config) end |
Instance Method Details
#meta_vars ⇒ Object
9 10 11 12 13 |
# File 'lib/ruby_home/hap/hap_request.rb', line 9 def super.merge( { "REQUEST_SESSION" => @session } ) end |