I hereby claim:
- I am mshick on github.
- I am mshick (https://keybase.io/mshick) on keybase.
- I have a public key ASAK0I32-sdxpOVjR43i_p1n_zC9rP8JH_YxZgczqxckpgo
To claim this, I am signing this object:
# Install Homebrew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Install nvm | |
brew install nvm | |
# Export nvm environment | |
export NVM_DIR="$HOME/.nvm" | |
. "$(brew --prefix nvm)/nvm.sh" |
I hereby claim:
To claim this, I am signing this object:
"stripeCustomer": {
"title": "Stripe Customer",
"description": "",
"@ref": "stripe:Customer",
"@resolver": {
"name": "rest:get",
"service": "stripe",
"options": {"path": "/v1/customers/{customer}"},
"argsMapping": {
{
"searchParamsMapping": [
[
"expand[]",
[
["get": {"path": "somepath"}], ["concat": {"path": "somepath"}]]
],
["expand[]",
[["set": {"value": "somepath"}]]
Stripe uses this for encoding their deepObject-style form data:
stringifyRequestData: (data) => {
return (
qs
.stringify(data, {
serializeDate: (d) => Math.floor(d.getTime() / 1000),
{
"resultsMapping": [
["expressionEval", { "expression": "{...steps[0], sku: steps[0].id}" }]
]
}
{