Skip to content

Instantly share code, notes, and snippets.

@pon
Created October 19, 2014 00:32
Show Gist options
  • Save pon/5bb9bb925f8685de9fa4 to your computer and use it in GitHub Desktop.
Save pon/5bb9bb925f8685de9fa4 to your computer and use it in GitHub Desktop.
Gated Versioning Objects
-- This is the versioning config file
[
{
"id": "2014-01-01",
"features": [
{
"name": "rename_setting_id",
"description": "rename setting_id to setting on objects endpoint"
}
]
},
{
"id": "2014-01-15",
"features": [
{
"name": "remove_bank_code",
"description": "remove the bank_code parameter on bank_accounts"
}
]
}
]
-- This would be the resulting object after parsing the config file (features would be added based on the version provided obviously)
{
"rename_setting_id": true,
"remove_bank_code": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment