Created
October 19, 2014 00:32
-
-
Save pon/5bb9bb925f8685de9fa4 to your computer and use it in GitHub Desktop.
Gated Versioning Objects
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
-- 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 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
-- 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