Class: Teams::Api::TaskModuleContinueResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/teams/api/task_module.rb

Instance Method Summary collapse

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_hObject



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