Module: AgentClientProtocol::Schema::SessionConfigOption
- Defined in:
- lib/agent_client_protocol/schema/types.rb
Constant Summary collapse
- SELECT =
"select".freeze
Class Method Summary collapse
Class Method Details
.parse(hash) ⇒ Object
115 116 117 118 119 120 121 122 123 124 125 |
# File 'lib/agent_client_protocol/schema/types.rb', line 115 def self.parse(hash) return nil if hash.nil? disc = hash["type"] case disc when "select" obj = SessionConfigSelect.from_hash(hash) obj else hash end end |