You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use Ruby string formatting for handling variable replacement
Currently, @ is used for handling variables and variable replacement in
WebMinion. As an alternative, I suggest we use Ruby's built in string formatting for handling variables in WebMinion configurations.
Currently, the JSON for variable replacement looks like this:
Use Ruby string formatting for handling variable replacement
Currently,
@
is used for handling variables and variable replacement inWebMinion. As an alternative, I suggest we use Ruby's built in string formatting for handling variables in WebMinion configurations.
Currently, the JSON for variable replacement looks like this:
With String formatting, it would look like this:
Since the variables are passed in as a hash, replacement would be very simple:
The text was updated successfully, but these errors were encountered: