Class: Copilot::CloudSessionOptions
- Inherits:
-
Struct
- Object
- Struct
- Copilot::CloudSessionOptions
- Defined in:
- lib/copilot/types.rb
Overview
Cloud-session creation options.
Instance Attribute Summary collapse
-
#repository ⇒ Object
Returns the value of attribute repository.
Instance Method Summary collapse
Instance Attribute Details
#repository ⇒ Object
Returns the value of attribute repository
196 197 198 |
# File 'lib/copilot/types.rb', line 196 def repository @repository end |
Instance Method Details
#to_h ⇒ Object
197 198 199 200 201 |
# File 'lib/copilot/types.rb', line 197 def to_h h = {} h[:repository] = repository.respond_to?(:to_h) ? repository.to_h : repository if repository h end |