Class: Bidi2pdf::Bidi::Commands::CdpGetSession
- Inherits:
-
Object
- Object
- Bidi2pdf::Bidi::Commands::CdpGetSession
- Includes:
- Base
- Defined in:
- lib/bidi2pdf/bidi/commands/cdp_get_session.rb
Instance Method Summary collapse
-
#initialize(context:) ⇒ CdpGetSession
constructor
A new instance of CdpGetSession.
- #method_name ⇒ Object
- #params ⇒ Object
Methods included from Base
#==, #as_payload, #eql?, #hash, #inspect
Constructor Details
#initialize(context:) ⇒ CdpGetSession
Returns a new instance of CdpGetSession.
9 10 11 |
# File 'lib/bidi2pdf/bidi/commands/cdp_get_session.rb', line 9 def initialize(context:) @context = context end |
Instance Method Details
#method_name ⇒ Object
15 16 17 |
# File 'lib/bidi2pdf/bidi/commands/cdp_get_session.rb', line 15 def method_name "goog:cdp.getSession" end |
#params ⇒ Object
13 |
# File 'lib/bidi2pdf/bidi/commands/cdp_get_session.rb', line 13 def params = { context: @context } |