Class: Bidi2pdf::Bidi::Commands::CdpGetSession

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/bidi2pdf/bidi/commands/cdp_get_session.rb

Instance Method Summary collapse

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_nameObject



15
16
17
# File 'lib/bidi2pdf/bidi/commands/cdp_get_session.rb', line 15

def method_name
  "goog:cdp.getSession"
end

#paramsObject



13
# File 'lib/bidi2pdf/bidi/commands/cdp_get_session.rb', line 13

def params = { context: @context }