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
# Problem: Divide api into version to provide a consistent experience to developers. | |
require 'goliath' | |
require 'active_support/all' | |
module V01 | |
class Hello | |
def self.call(env) | |
[200, {}, {'response' => 'V01'}] | |
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
# Mike Bianco <mike@suitesync.io> | |
# Description: Wipe all metadata fields from Stripe used by SuiteSync. | |
# Helpful after a sandbox refresh. | |
# | |
# Usage: | |
# export STRIPE_KEY=sk_test_ | |
# ruby suitesync_wipe_metadata_fields.rb | |
require 'stripe' |