Class: Copilot::RemoteEnableRequest

Inherits:
Struct
  • Object
show all
Defined in:
lib/copilot/types.rb

Overview

Experimental Request to enable remote mode for a session.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#modeObject

Returns the value of attribute mode

Returns:

  • (Object)

    the current value of mode



818
819
820
# File 'lib/copilot/types.rb', line 818

def mode
  @mode
end

Class Method Details

.from_hash(h) ⇒ Object



819
820
821
# File 'lib/copilot/types.rb', line 819

def self.from_hash(h)
  new(mode: h["mode"])
end