Class: Bidi2pdf::Bidi::Commands::NetworkContinue
- Inherits:
-
Object
- Object
- Bidi2pdf::Bidi::Commands::NetworkContinue
- Includes:
- Base
- Defined in:
- lib/bidi2pdf/bidi/commands/network_continue.rb
Instance Attribute Summary collapse
-
#headers ⇒ Object
readonly
Returns the value of attribute headers.
-
#request ⇒ Object
readonly
Returns the value of attribute request.
Instance Method Summary collapse
-
#initialize(request:, headers:) ⇒ NetworkContinue
constructor
A new instance of NetworkContinue.
- #method_name ⇒ Object
- #params ⇒ Object
Methods included from Base
#==, #as_payload, #eql?, #hash, #inspect
Constructor Details
#initialize(request:, headers:) ⇒ NetworkContinue
Returns a new instance of NetworkContinue.
11 12 13 14 |
# File 'lib/bidi2pdf/bidi/commands/network_continue.rb', line 11 def initialize(request:, headers:) @headers = headers @request = request end |
Instance Attribute Details
#headers ⇒ Object (readonly)
Returns the value of attribute headers.
9 10 11 |
# File 'lib/bidi2pdf/bidi/commands/network_continue.rb', line 9 def headers @headers end |
#request ⇒ Object (readonly)
Returns the value of attribute request.
9 10 11 |
# File 'lib/bidi2pdf/bidi/commands/network_continue.rb', line 9 def request @request end |
Instance Method Details
#method_name ⇒ Object
16 17 18 |
# File 'lib/bidi2pdf/bidi/commands/network_continue.rb', line 16 def method_name "network.continueRequest" end |
#params ⇒ Object
20 21 22 23 24 25 |
# File 'lib/bidi2pdf/bidi/commands/network_continue.rb', line 20 def params { request: request, headers: headers }.compact end |