diesel_story Pub

diesel parms and expressions

send::  msg diesel.realm.set  (xxx<-"123")

send::  msg ctx.echo  (x4<-diesel[="props.realm"][:String="xxx"])

expect::  (x4 is "123")

send::  msg ctx.echo  (x5<-diesel.[="realm"][="props"][="xxx"])

expect::  (x5 is "123")

send::  msg ctx.echo  (x9<-diesel.[="props"][="realm"][="xxx"])

expect::  (x9 is "123")

send::  msg ctx.echo  (x<-diesel)

send::  msg ctx.echo  (x<-diesel[="props.realm"][:String="xxx"])

send::  msg ctx.echo  (x<-diesel[="env"])

send::  msg diesel.props.realm  (result<-"temp")

Dieselapps examples

send::  msg snakk.json  (url<-"http://www.dieselapps.com/diesel/wreact/wiki.Admin:Home-Api/react/cart/addItem?customerId=Joe&sku=123&quantity=5&&dfiddle=api3&includeFor=.*")

expect::  (payload[="items"][=0][:String="sku"] is "123")


Was this useful?    

By: Razie | 2020-05-29 .. 2020-05-31 | Tags: story , dsl


Viewed 44 times ( | Print ) this page.

You need to log in to post a comment!

© Copyright DieselApps, 2012-2020, all rights reserved.