Sha256: 42fe4998f204f3067381faa9ee56571c9d0e6b48762dd8792d62fd53812255fd

Contents?: true

Size: 590 Bytes

Versions: 7

Compression:

Stored size: 590 Bytes

Contents

(******************************************************************
{{META.desc}}
 - modelData {{META.modelData}}
 - template  {{META.template}}
******************************************************************)

\* set 'status' with 'response' for 'operation'  into state variable 'responses'
macro InfrastructureServiceReturn( operation, status, response ) {

      \* update field for 'operation' in 'responses' variable  with record [ status |-> s , response |-> r ] 
      responses[InterfaceOperation2ProcessName(operation)] := InfrastructureServiceResponse( status, response );
}


Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tla-sbuilder-0.3.9 mustache/tla/macro-infrastructure-service.mustache
tla-sbuilder-0.3.8 mustache/tla/macro-infrastructure-service.mustache
tla-sbuilder-0.3.7 mustache/tla/macro-infrastructure-service.mustache
tla-sbuilder-0.3.4 mustache/tla/macro-infrastructure-service.mustache
tla-sbuilder-0.2.2 mustache/tla/macro-infrastructure-service.mustache
tla-sbuilder-0.2.1 mustache/tla/macro-infrastructure-service.mustache
tla-sbuilder-0.1.0 mustache/tla/macro-infrastructure-service.mustache