This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { S3 } = require("aws-sdk"); | |
const axios = require("axios").default; | |
exports.handler = async (event: any) => { | |
console.log(event); | |
const s3 = new S3(); | |
// Retrieve the operation context object from event. This has info to where the WriteGetObjectResponse request | |
// should be delivered and a presigned URL in `inputS3Url` where we can download the requested object from. | |
// The `userRequest` object has information related to the user which made this `GetObject` request to S3OL. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'lotus-controller' | |
require 'byebug' | |
module Feature | |
def self.create(str) | |
str.reverse | |
end | |
end | |
module Sack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Include gulp | |
var gulp = require('gulp'); | |
// Include Our Plugins | |
var jshint = require('gulp-jshint'); | |
var concat = require('gulp-concat'); | |
var uglify = require('gulp-uglify'); | |
var rename = require('gulp-rename'); | |
var tmplte = require('gulp-jstemplater'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"error": { | |
"summary": "Dead lock timeout", | |
"flow": "My Quickbooks flow", | |
"flow_id": "abc123", | |
"count": 10, | |
"created_at": "Some time", | |
"connection": "Quickbooks", | |
"connection_id": "abc123", | |
"webhook": "Add Products", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"message_id": "88af1dc5fe53543f1200f517", | |
"message": "ctl:shipment:confirmation:poll", | |
"payload": { | |
"parameters": [ | |
{ | |
"name": "ctl.last_confirmation_shipment", | |
"value": "H00000000001" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "vpd", | |
"display": "VPD Endpoint", | |
"description": "Shipping integration with VPD", | |
"help": "http://guides.spreecommerce.com/integration/vpd_integration.html", | |
"icon_url": "vpd.png", | |
"services": [ | |
{ | |
"name": "shipments", | |
"path": "/service/spree_order.p", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'notifications' => [ | |
{ | |
'level' => 'info', | |
'subject' => 'product exists' , | |
'description' => 'product exists in the database' | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object @address | |
attributes *address_attributes | |
child(:country) do |address| | |
attributes *country_attributes | |
end | |
child(:state) do |address| | |
attributes *state_attributes | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"message": "order:new", | |
"payload": { | |
"order": { | |
"channel": "Amazon", | |
"email": "[email protected]", | |
"currency": "USD", | |
"line_items": [ | |
{ | |
"price": 19.99, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
development: | |
adapter: postgresql | |
encoding: unicode | |
database: sandbox_master_dev | |
pool: 50 | |
host: localhost |
NewerOlder