Class: CPEE::Instantiation::HandleInstance

Inherits:
Riddl::Implementation
  • Object
show all
Includes:
Helpers
Defined in:
lib/cpee/instantiation.rb

Overview

}}}

Instance Method Summary collapse

Methods included from Helpers

#handle_data

Instance Method Details

#responseObject



185
186
187
188
189
190
191
192
193
194
195
# File 'lib/cpee/instantiation.rb', line 185

def response
  cpee     = @a[0]
  selfurl  = @a[1]
  cblist   = @a[2]
  instance = @p[1].value

  handle_data cpee, instance, @p[2]&.value
  handle_waiting cpee, instance, @p[0].value, selfurl, cblist
  handle_starting cpee, instance, @p[0].value
  return Riddl::Parameter::Simple.new("url",cpee + instance)
end