Class: Teams::Api::TaskModuleContinueResponse
- Inherits:
-
Object
- Object
- Teams::Api::TaskModuleContinueResponse
- Defined in:
- lib/teams/api/task_module.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ TaskModuleContinueResponse
constructor
A new instance of TaskModuleContinueResponse.
- #to_h ⇒ Object
Constructor Details
#initialize(value) ⇒ TaskModuleContinueResponse
Returns a new instance of TaskModuleContinueResponse.
48 49 50 |
# File 'lib/teams/api/task_module.rb', line 48 def initialize(value) @value = value end |
Instance Method Details
#to_h ⇒ Object
52 53 54 55 56 57 |
# File 'lib/teams/api/task_module.rb', line 52 def to_h { "type" => "continue", "value" => @value.respond_to?(:to_h) ? @value.to_h : @value } end |