tacokit 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +16 -0
- data/.pryrc +7 -0
- data/.rspec +2 -0
- data/.travis.yml +18 -0
- data/Gemfile +28 -0
- data/Guardfile +12 -0
- data/LICENSE +22 -0
- data/README.md +134 -0
- data/Rakefile +8 -0
- data/config.ru +7 -0
- data/lib/tacokit/authorization.rb +46 -0
- data/lib/tacokit/client/actions.rb +54 -0
- data/lib/tacokit/client/boards.rb +124 -0
- data/lib/tacokit/client/cards.rb +143 -0
- data/lib/tacokit/client/checklists.rb +59 -0
- data/lib/tacokit/client/labels.rb +44 -0
- data/lib/tacokit/client/lists.rb +54 -0
- data/lib/tacokit/client/members.rb +91 -0
- data/lib/tacokit/client/notifications.rb +48 -0
- data/lib/tacokit/client/organizations.rb +79 -0
- data/lib/tacokit/client/searches.rb +20 -0
- data/lib/tacokit/client/tokens.rb +41 -0
- data/lib/tacokit/client/types.rb +11 -0
- data/lib/tacokit/client/webhooks.rb +43 -0
- data/lib/tacokit/client.rb +169 -0
- data/lib/tacokit/configuration.rb +60 -0
- data/lib/tacokit/error.rb +31 -0
- data/lib/tacokit/middleware/boom.rb +26 -0
- data/lib/tacokit/middleware/debug.rb +22 -0
- data/lib/tacokit/middleware.rb +15 -0
- data/lib/tacokit/resource.rb +114 -0
- data/lib/tacokit/response.rb +23 -0
- data/lib/tacokit/transform.rb +97 -0
- data/lib/tacokit/utils.rb +51 -0
- data/lib/tacokit/version.rb +3 -0
- data/lib/tacokit.rb +20 -0
- data/script/console +6 -0
- data/spec/cassettes/Tacokit_Client/_connection/authorized_GET_request_with_app_key_and_token_params.json +1 -0
- data/spec/cassettes/Tacokit_Client_Actions/_action/returns_a_token_authorized_action.json +1 -0
- data/spec/cassettes/Tacokit_Client_Actions/_action/returns_oauth_authorized_board.json +1 -0
- data/spec/cassettes/Tacokit_Client_Actions/_action_field/returns_a_hash.json +1 -0
- data/spec/cassettes/Tacokit_Client_Actions/_action_field/returns_a_resource.json +1 -0
- data/spec/cassettes/Tacokit_Client_Actions/_action_field/returns_a_value.json +1 -0
- data/spec/cassettes/Tacokit_Client_Actions/_action_resource/returns_action_board.json +1 -0
- data/spec/cassettes/Tacokit_Client_Actions/_action_resource/returns_action_entities.json +1 -0
- data/spec/cassettes/Tacokit_Client_Actions/_action_resource/returns_action_memberships.json +1 -0
- data/spec/cassettes/Tacokit_Client_Actions/_delete_action/deletes_an_action.json +1 -0
- data/spec/cassettes/Tacokit_Client_Actions/_update_action/updates_a_action.json +1 -0
- data/spec/cassettes/Tacokit_Client_Actions/_update_action/updates_an_action.json +1 -0
- data/spec/cassettes/Tacokit_Client_Actions/_update_action_text/updates_an_action.json +1 -0
- data/spec/cassettes/Tacokit_Client_Boards/_add_board_member/adds_invites_member_to_board.json +1 -0
- data/spec/cassettes/Tacokit_Client_Boards/_board/returns_a_token_authorized_board.json +1 -0
- data/spec/cassettes/Tacokit_Client_Boards/_board/returns_oauth_authorized_board.json +1 -0
- data/spec/cassettes/Tacokit_Client_Boards/_board_field/returns_a_hash.json +1 -0
- data/spec/cassettes/Tacokit_Client_Boards/_board_field/returns_a_value.json +1 -0
- data/spec/cassettes/Tacokit_Client_Boards/_board_field/returns_an_array.json +1 -0
- data/spec/cassettes/Tacokit_Client_Boards/_board_resource/returns_board_actions.json +1 -0
- data/spec/cassettes/Tacokit_Client_Boards/_board_resource/returns_board_cards.json +1 -0
- data/spec/cassettes/Tacokit_Client_Boards/_board_resource/returns_board_members.json +1 -0
- data/spec/cassettes/Tacokit_Client_Boards/_create_board/creates_a_board.json +1 -0
- data/spec/cassettes/Tacokit_Client_Boards/_create_board_resource/creates_a_board_calendar_key.json +1 -0
- data/spec/cassettes/Tacokit_Client_Boards/_create_board_resource/creates_a_board_label.json +1 -0
- data/spec/cassettes/Tacokit_Client_Boards/_create_board_resource/creates_a_board_resource.json +1 -0
- data/spec/cassettes/Tacokit_Client_Boards/_update_board/updates_a_board.json +1 -0
- data/spec/cassettes/Tacokit_Client_Boards/_update_board/updates_nested_resource.json +1 -0
- data/spec/cassettes/Tacokit_Client_Boards/_update_board_field/updates_a_board_field.json +1 -0
- data/spec/cassettes/Tacokit_Client_Boards/_update_board_resource/updates_member.json +1 -0
- data/spec/cassettes/Tacokit_Client_Cards/_card/returns_a_card_by_id.json +1 -0
- data/spec/cassettes/Tacokit_Client_Cards/_card/returns_a_card_by_short_link.json +1 -0
- data/spec/cassettes/Tacokit_Client_Cards/_card_field/returns_a_hash.json +1 -0
- data/spec/cassettes/Tacokit_Client_Cards/_card_field/returns_a_value.json +1 -0
- data/spec/cassettes/Tacokit_Client_Cards/_card_field/returns_an_array.json +1 -0
- data/spec/cassettes/Tacokit_Client_Cards/_card_resource/returns_card_actions.json +1 -0
- data/spec/cassettes/Tacokit_Client_Cards/_card_resource/returns_card_board.json +1 -0
- data/spec/cassettes/Tacokit_Client_Cards/_card_resource/returns_card_check_item_states.json +1 -0
- data/spec/cassettes/Tacokit_Client_Cards/_create_card/creates_a_card.json +1 -0
- data/spec/cassettes/Tacokit_Client_Cards/_create_card_attachment/attaches_external_url.json +1 -0
- data/spec/cassettes/Tacokit_Client_Cards/_create_card_attachment/uploads_local_file.json +1 -0
- data/spec/cassettes/Tacokit_Client_Cards/_create_card_comment/creates_a_comment.json +1 -0
- data/spec/cassettes/Tacokit_Client_Cards/_delete_card/deletes_a_card.json +1 -0
- data/spec/cassettes/Tacokit_Client_Cards/_delete_card_resource/deletes_resource.json +1 -0
- data/spec/cassettes/Tacokit_Client_Cards/_update_card/updates_a_card.json +1 -0
- data/spec/cassettes/Tacokit_Client_Checklists/_checklist/returns_a_checklist_by_id.json +1 -0
- data/spec/cassettes/Tacokit_Client_Checklists/_checklist_field/returns_a_value.json +1 -0
- data/spec/cassettes/Tacokit_Client_Checklists/_checklist_resource/returns_checklist_actions.json +1 -0
- data/spec/cassettes/Tacokit_Client_Checklists/_checklist_resource/returns_checklist_board.json +1 -0
- data/spec/cassettes/Tacokit_Client_Checklists/_checklist_resource/returns_checklist_prefs.json +1 -0
- data/spec/cassettes/Tacokit_Client_Checklists/_create_checklist/creates_a_checklist.json +1 -0
- data/spec/cassettes/Tacokit_Client_Checklists/_delete_checklist/deletes_a_checklist.json +1 -0
- data/spec/cassettes/Tacokit_Client_Checklists/_update_checklist/updates_a_checklist.json +1 -0
- data/spec/cassettes/Tacokit_Client_Labels/_create_label/creates_a_label.json +1 -0
- data/spec/cassettes/Tacokit_Client_Labels/_delete_label/deletes_a_label.json +1 -0
- data/spec/cassettes/Tacokit_Client_Labels/_label/returns_a_label_by_id.json +1 -0
- data/spec/cassettes/Tacokit_Client_Labels/_label_resource/returns_a_board.json +1 -0
- data/spec/cassettes/Tacokit_Client_Labels/_labels/returns_a_label_by_id.json +1 -0
- data/spec/cassettes/Tacokit_Client_Labels/_update_label/updates_a_label.json +1 -0
- data/spec/cassettes/Tacokit_Client_Lists/_create_list/creates_a_list.json +1 -0
- data/spec/cassettes/Tacokit_Client_Lists/_list/returns_a_list_by_id.json +1 -0
- data/spec/cassettes/Tacokit_Client_Lists/_list_field/returns_a_value.json +1 -0
- data/spec/cassettes/Tacokit_Client_Lists/_list_resource/returns_list_actions.json +1 -0
- data/spec/cassettes/Tacokit_Client_Lists/_list_resource/returns_list_board.json +1 -0
- data/spec/cassettes/Tacokit_Client_Lists/_list_resource/returns_list_cards.json +1 -0
- data/spec/cassettes/Tacokit_Client_Lists/_update_list/updates_a_list.json +1 -0
- data/spec/cassettes/Tacokit_Client_Members/_member/authenticated/returns_self.json +1 -0
- data/spec/cassettes/Tacokit_Client_Members/_member/raises_error_for_missing_token.json +1 -0
- data/spec/cassettes/Tacokit_Client_Members/_member/returns_a_member.json +1 -0
- data/spec/cassettes/Tacokit_Client_Members/_member/returns_self.json +1 -0
- data/spec/cassettes/Tacokit_Client_Members/_member/supports_query_fields_as_string_or_array.json +1 -0
- data/spec/cassettes/Tacokit_Client_Members/_member_field/returns_a_hash.json +1 -0
- data/spec/cassettes/Tacokit_Client_Members/_member_field/returns_a_member_field.json +1 -0
- data/spec/cassettes/Tacokit_Client_Members/_member_field/returns_a_resource.json +1 -0
- data/spec/cassettes/Tacokit_Client_Members/_member_field/returns_a_value.json +1 -0
- data/spec/cassettes/Tacokit_Client_Members/_member_field/returns_an_array.json +1 -0
- data/spec/cassettes/Tacokit_Client_Members/_member_resource/returns_member_actions.json +1 -0
- data/spec/cassettes/Tacokit_Client_Members/_member_resource/returns_member_board_stars.json +1 -0
- data/spec/cassettes/Tacokit_Client_Members/_member_resource/returns_member_boards.json +1 -0
- data/spec/cassettes/Tacokit_Client_Members/_update_member/updates_a_member.json +1 -0
- data/spec/cassettes/Tacokit_Client_Members/_update_member/updates_nested_resource.json +1 -0
- data/spec/cassettes/Tacokit_Client_Notifications/_notification/returns_a_notification_by_id.json +1 -0
- data/spec/cassettes/Tacokit_Client_Notifications/_notification_field/returns_a_hash.json +1 -0
- data/spec/cassettes/Tacokit_Client_Notifications/_notification_field/returns_a_resource.json +1 -0
- data/spec/cassettes/Tacokit_Client_Notifications/_notification_field/returns_a_value.json +1 -0
- data/spec/cassettes/Tacokit_Client_Notifications/_notification_resource/returns_action_entities.json +1 -0
- data/spec/cassettes/Tacokit_Client_Notifications/_notification_resource/returns_notification_board.json +1 -0
- data/spec/cassettes/Tacokit_Client_Notifications/_update_notification/updates_a_notification.json +1 -0
- data/spec/cassettes/Tacokit_Client_Organizations/_create_organization/creates_a_organization.json +1 -0
- data/spec/cassettes/Tacokit_Client_Organizations/_delete_organization/deletes_a_organization.json +1 -0
- data/spec/cassettes/Tacokit_Client_Organizations/_organization/returns_an_organization_by_id.json +1 -0
- data/spec/cassettes/Tacokit_Client_Organizations/_organization_field/returns_a_hash.json +1 -0
- data/spec/cassettes/Tacokit_Client_Organizations/_organization_field/returns_a_resource.json +1 -0
- data/spec/cassettes/Tacokit_Client_Organizations/_organization_field/returns_a_value.json +1 -0
- data/spec/cassettes/Tacokit_Client_Organizations/_organization_field/returns_an_array.json +1 -0
- data/spec/cassettes/Tacokit_Client_Organizations/_organization_resource/returns_organization_actions.json +1 -0
- data/spec/cassettes/Tacokit_Client_Organizations/_organization_resource/returns_organization_boards.json +1 -0
- data/spec/cassettes/Tacokit_Client_Organizations/_organization_resource/returns_organization_members.json +1 -0
- data/spec/cassettes/Tacokit_Client_Organizations/_update_organization/updates_a_organization.json +1 -0
- data/spec/cassettes/Tacokit_Client_Searches/_search/returns_search_result.json +1 -0
- data/spec/cassettes/Tacokit_Client_Tokens/_delete_token/deletes_a_token.json +1 -0
- data/spec/cassettes/Tacokit_Client_Tokens/_token/returns_a_token_for_token_string.json +1 -0
- data/spec/cassettes/Tacokit_Client_Tokens/_token_field/returns_a_value.json +1 -0
- data/spec/cassettes/Tacokit_Client_Tokens/_token_field/returns_an_array.json +1 -0
- data/spec/cassettes/Tacokit_Client_Tokens/_token_resource/returns_token_member.json +1 -0
- data/spec/cassettes/Tacokit_Client_Tokens/_token_resource/returns_token_webhooks.json +1 -0
- data/spec/cassettes/Tacokit_Client_Types/_type/returns_a_type_by_id.json +1 -0
- data/spec/cassettes/Tacokit_Client_Webhooks/_create_webhook/creates_a_webhook.json +1 -0
- data/spec/cassettes/Tacokit_Client_Webhooks/_delete_webhook/deletes_a_webhook.json +1 -0
- data/spec/cassettes/Tacokit_Client_Webhooks/_update_webhook/updates_a_webhook.json +1 -0
- data/spec/cassettes/Tacokit_Client_Webhooks/_webhook/returns_a_webhook_by_short_link.json +1 -0
- data/spec/cassettes/Tacokit_Client_Webhooks/_webhook_field/returns_a_value.json +1 -0
- data/spec/fixtures/taco.png +0 -0
- data/spec/spec_helper.rb +162 -0
- data/spec/tacokit/authorization_spec.rb +47 -0
- data/spec/tacokit/client/actions_spec.rb +100 -0
- data/spec/tacokit/client/boards_spec.rb +168 -0
- data/spec/tacokit/client/cards_spec.rb +192 -0
- data/spec/tacokit/client/checklists_spec.rb +87 -0
- data/spec/tacokit/client/labels_spec.rb +70 -0
- data/spec/tacokit/client/lists_spec.rb +81 -0
- data/spec/tacokit/client/members_spec.rb +114 -0
- data/spec/tacokit/client/notifications_spec.rb +52 -0
- data/spec/tacokit/client/organizations_spec.rb +100 -0
- data/spec/tacokit/client/searches_spec.rb +13 -0
- data/spec/tacokit/client/tokens_spec.rb +49 -0
- data/spec/tacokit/client/types_spec.rb +12 -0
- data/spec/tacokit/client/webhooks_spec.rb +70 -0
- data/spec/tacokit/client_spec.rb +28 -0
- data/spec/tacokit/configuration_spec.rb +51 -0
- data/spec/tacokit/middleware/boom_spec.rb +35 -0
- data/spec/tacokit/resource_spec.rb +26 -0
- data/spec/tacokit/transform_spec.rb +131 -0
- data/spec/tacokit_spec.rb +16 -0
- data/tacokit.gemspec +28 -0
- metadata +436 -0
data/spec/cassettes/Tacokit_Client_Organizations/_organization/returns_an_organization_by_id.json
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/organizations/teamtacokit?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.266.2"],"X-Trello-Environment":["Production"],"Set-Cookie":["___utmvaDOussFI=cet\u0001LJWp; path=/; Max-Age=900","___utmvbDOussFI=HZU XijOpalg: KtM; path=/; Max-Age=900","___utmvmDOussFI=mcpgbOsvUBB; path=/; Max-Age=900","dsc=fe72920701d14a5416d521aaf25e695f1a2244167ecb94ac54578a162d078af9; Path=/; Expires=Thu, 18 Dec 2014 13:20:49 GMT; Secure","incap_ses_220_168562=PuoeTGV00WPxFkYWNZkNAzDgjlQAAAAA2qgZ774QI0/RrPJqcDDt0A==; path=/; Domain=.trello.com","visid_incap_168562=BsnPlUxPTu6pAIdEcmpI5TDgjlQAAAAAQUIPAAAAAAC4cctnCHyn42z6AQK+M6pd; expires=Wed, 14 Dec 2016 12:28:10 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418649649317"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["231"],"Vary":["Accept-Encoding"],"Date":["Mon, 15 Dec 2014 13:20:49 GMT"],"X-Iinfo":["5-8748121-8730665 PNNY RT(1418649648202 61) q(0 0 0 -1) r(1 1) U10000"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6IjU0OGUzMGU5NjgzZTE5MjNmNjc2YmEyMCIsIm5hbWUiOiJ0ZWFt\ndGFjb2tpdCIsImRpc3BsYXlOYW1lIjoiVGVhbSBUYWNva2l0IiwiZGVzYyI6\nIlRhY29raXQgdGhlIG9yZ2FuaXphdGlvbiIsImRlc2NEYXRhIjpudWxsLCJ1\ncmwiOiJodHRwczovL3RyZWxsby5jb20vdGVhbXRhY29raXQiLCJ3ZWJzaXRl\nIjpudWxsLCJsb2dvSGFzaCI6bnVsbCwicHJvZHVjdHMiOltdLCJwb3dlclVw\ncyI6W119\n"},"http_version":null},"recorded_at":"Mon, 15 Dec 2014 13:20:49 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/organizations/teamtacokit/prefs?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.268.2"],"X-Trello-Environment":["Production"],"Set-Cookie":["___utmvaDFussFI=ioS\u0001bCHV; path=/; Max-Age=900","___utmvbDFussFI=pZq XojOnalm: ztg; path=/; Max-Age=900","___utmvmDFussFI=hcxwtRmPhLR; path=/; Max-Age=900","dsc=9abd0038ead319e778c60c6593aeea96472b4e18593f73d3d190dab88a546af6; Path=/; Expires=Sat, 20 Dec 2014 00:02:26 GMT; Secure","incap_ses_156_168562=jjw9WRJ+JEdObMhmcjoqAhLIkFQAAAAAFuqj0lyByGtrWvNA8sNTUQ==; path=/; Domain=.trello.com","visid_incap_168562=RzaBRgl4T/mDmm60y+ceWBLIkFQAAAAAQUIPAAAAAAAMZDt23dE3axw5YxZf1Dwc; expires=Thu, 15 Dec 2016 12:25:23 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418774546855"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["178"],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 00:02:26 GMT"],"X-Iinfo":["6-30102672-30094161 PNNY RT(1418774546130 52) q(0 0 0 -1) r(1 1) U10000"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJwZXJtaXNzaW9uTGV2ZWwiOiJwdWJsaWMiLCJvcmdJbnZpdGVSZXN0cmlj\ndCI6W10sImV4dGVybmFsTWVtYmVyc0Rpc2FibGVkIjpmYWxzZSwiYXNzb2Np\nYXRlZERvbWFpbiI6bnVsbCwiYm9hcmRWaXNpYmlsaXR5UmVzdHJpY3QiOnsi\ncHJpdmF0ZSI6Im9yZyIsIm9yZyI6Im9yZyIsInB1YmxpYyI6Im9yZyJ9fQ==\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 00:02:34 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/organizations/teamtacokit/prefs?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.269.0"],"X-Trello-Environment":["Production"],"Set-Cookie":["___utmvaDOussFI=Zor\u0001FDSR; path=/; Max-Age=900","___utmvbDOussFI=OZS XLEOMalz: Ztc; path=/; Max-Age=900","___utmvmDOussFI=GBhavjHapQL; path=/; Max-Age=900","dsc=1a80084641eaf9fb9755a67130cdcd5286085b32030360c952fabfd85714ee0a; Path=/; Expires=Mon, 22 Dec 2014 14:38:40 GMT; Secure","incap_ses_220_168562=HXTcOtqzxUDlgFQcNZkNA284lFQAAAAAJXYQI96CvWlgSspaM0diaQ==; path=/; Domain=.trello.com","visid_incap_168562=YgGcNEQlRrWyr3y/1kwAhG84lFQAAAAAQUIPAAAAAACNr8Uvr35SFbqKMqfDs35j; expires=Sun, 18 Dec 2016 12:28:13 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418999920059"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["178"],"Vary":["Accept-Encoding"],"Date":["Fri, 19 Dec 2014 14:38:40 GMT"],"X-Iinfo":["7-45951831-45913008 PNNY RT(1418999918990 40) q(0 0 0 -1) r(0 0)"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJwZXJtaXNzaW9uTGV2ZWwiOiJwdWJsaWMiLCJvcmdJbnZpdGVSZXN0cmlj\ndCI6W10sImV4dGVybmFsTWVtYmVyc0Rpc2FibGVkIjpmYWxzZSwiYXNzb2Np\nYXRlZERvbWFpbiI6bnVsbCwiYm9hcmRWaXNpYmlsaXR5UmVzdHJpY3QiOnsi\ncHJpdmF0ZSI6Im9yZyIsIm9yZyI6Im9yZyIsInB1YmxpYyI6Im9yZyJ9fQ==\n"},"http_version":null},"recorded_at":"Fri, 19 Dec 2014 14:38:40 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/organizations/teamtacokit/desc?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.268.2"],"X-Trello-Environment":["Production"],"Set-Cookie":["___utmvaDFussFI=Jss\u0001EpWr; path=/; Max-Age=900","___utmvbDFussFI=GZY XXOOEalA: ttV; path=/; Max-Age=900","___utmvmDFussFI=vCMTaPbfLgj; path=/; Max-Age=900","dsc=6f4fa2ab7c044d1b481e47569b9446e1d6330895a92a55b5052e87a1f5deb215; Path=/; Expires=Sat, 20 Dec 2014 00:02:26 GMT; Secure","incap_ses_156_168562=MpsvDWX5HFIKbMhmcjoqAhHIkFQAAAAA8eyiGE6Qb5WDEXSWau+Jig==; path=/; Domain=.trello.com","visid_incap_168562=GVhQshr0QHmRlvPuhuAzehHIkFQAAAAAQUIPAAAAAABhBbBRxmKBrBy468kKZdjZ; expires=Thu, 15 Dec 2016 12:25:23 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418774546575"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["38"],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 00:02:26 GMT"],"X-Iinfo":["6-30102662-30098839 PNNY RT(1418774545859 39) q(0 0 0 -1) r(1 1)"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJfdmFsdWUiOiJUYWNva2l0IHRoZSBvcmdhbml6YXRpb24ifQo=\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 00:02:34 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/organizations/teamtacokit/premiumFeatures?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.268.2"],"X-Trello-Environment":["Production"],"Set-Cookie":["___utmvaDFussFI=Yxa\u0001yIWi; path=/; Max-Age=900","___utmvbDFussFI=wZy XkyODalZ: bts; path=/; Max-Age=900","___utmvmDFussFI=yNFBYQDsPMX; path=/; Max-Age=900","dsc=23472513d548a6093c3a0acc9ec2985b1c23af77b0885d937a3acb032b992c64; Path=/; Expires=Sat, 20 Dec 2014 00:02:26 GMT; Secure","incap_ses_156_168562=q9bYMWvhrGgnbMhmcjoqAhLIkFQAAAAA2fnlXH9pIZnwX7QtfZbhyg==; path=/; Domain=.trello.com","visid_incap_168562=ztlBb0+SRMagBYgBZ9MEoxLIkFQAAAAAQUIPAAAAAACnsHGVQd/r4Z1rrQjBPTod; expires=Thu, 15 Dec 2016 12:25:24 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418774546707"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["2"],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 00:02:26 GMT"],"X-Iinfo":["8-45112208-45100037 PNNY RT(1418774545996 38) q(0 0 0 -1) r(0 0)"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"W10=\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 00:02:34 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/organizations/teamtacokit/actions?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.268.2"],"X-Trello-Environment":["Production"],"Set-Cookie":["___utmvaDFussFI=XfL\u0001ORkU; path=/; Max-Age=900","___utmvbDFussFI=SZe XPAOBalp: ztf; path=/; Max-Age=900","___utmvmDFussFI=hYyQEvZTnTf; path=/; Max-Age=900","dsc=fafc8a52f70b8f48133b82595eee225d1167289f045d990ac5d115fdbbc1e9d0; Path=/; Expires=Sat, 20 Dec 2014 00:02:27 GMT; Secure","incap_ses_156_168562=vtlyF6ylW3uQbMhmcjoqAhLIkFQAAAAApwFPe3aFJ5UxO/El2xq0Gw==; path=/; Domain=.trello.com","visid_incap_168562=qKv+zLciT0aflQzeOLm/vhLIkFQAAAAAQUIPAAAAAACY336hS441/ySNvHhDB963; expires=Thu, 15 Dec 2016 12:25:23 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418774547113"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Etag":["\"414322869\""],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 00:02:27 GMT"],"Transfer-Encoding":["chunked"],"X-Iinfo":["10-61943127-61933241 PNNY RT(1418774546288 118) q(0 0 0 -1) r(0 0) U10000"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"W3siaWQiOiI1NDhlMzEwOTM5YzI0OTg4YTY4MzczY2EiLCJpZE1lbWJlckNy\nZWF0b3IiOiI1NDhhNjY5NmIzYjk5MThiZWIxNDRiMDciLCJkYXRhIjp7Im9y\nZ2FuaXphdGlvbiI6eyJuYW1lIjoiVGVhbSBUYWNva2l0IiwiaWQiOiI1NDhl\nMzBlOTY4M2UxOTIzZjY3NmJhMjAiLCJwcmVmcyI6eyJwZXJtaXNzaW9uTGV2\nZWwiOnsiX2lkIjoiNTQ4ZTMwZTk2ODNlMTkyM2Y2NzZiYTIwIiwiZGlzcGxh\neU5hbWUiOiJUZWFtIFRhY29raXQiLCJuYW1lIjoidGVhbXRhY29raXQiLCJw\ncmVmcyI6eyJnb29nbGVBcHBzVmVyc2lvbiI6MSwiZXh0ZXJuYWxNZW1iZXJz\nRGlzYWJsZWQiOmZhbHNlLCJvcmdJbnZpdGVSZXN0cmljdCI6W10sInBlcm1p\nc3Npb25MZXZlbCI6InB1YmxpYyJ9LCJlbWFpbHNIaWRkZW5Hb29nbGVBcHBz\nIjpbXSwiaWRNZW1iZXJzUmVtb3ZlZCI6W10sImludml0YXRpb25Ub2tlbnMi\nOltdLCJpZEJvYXJkcyI6W10sIm1lbWJlcnNoaXBzIjpbeyJpZE1lbWJlciI6\nIjU0OGE2Njk2YjNiOTkxOGJlYjE0NGIwNyIsIm1lbWJlclR5cGUiOiJhZG1p\nbiIsIl9pZCI6IjU0OGUzMGU5NjgzZTE5MjNmNjc2YmEyMSIsImRlYWN0aXZh\ndGVkIjpmYWxzZSwidW5jb25maXJtZWQiOmZhbHNlfSx7ImlkTWVtYmVyQWRk\nZXIiOiI1NDhhNjY5NmIzYjk5MThiZWIxNDRiMDciLCJpZE1lbWJlciI6IjRm\nMDc5YWRjNzM2NjhiMjQ0YjFjMDk5YSIsIm1lbWJlclR5cGUiOiJub3JtYWwi\nLCJfaWQiOiI1NDhlMzEwMWM0ZDdkM2MyYTY4NjhkZTIiLCJkZWFjdGl2YXRl\nZCI6ZmFsc2UsInVuY29uZmlybWVkIjpmYWxzZX1dLCJkZXNjcmlwdGlvbiI6\nIlRhY29raXQgdGhlIG9yZ2FuaXphdGlvbiIsInByb21vdGlvbnMiOltdLCJk\nZWxldGVkIjpmYWxzZSwicGFpZEFjY291bnQiOnsicHJvZHVjdHMiOltdfX19\nfSwib2xkIjp7InByZWZzIjp7InBlcm1pc3Npb25MZXZlbCI6InByaXZhdGUi\nfX19LCJ0eXBlIjoidXBkYXRlT3JnYW5pemF0aW9uIiwiZGF0ZSI6IjIwMTQt\nMTItMTVUMDA6NTM6MjkuMzA3WiIsIm1lbWJlckNyZWF0b3IiOnsiaWQiOiI1\nNDhhNjY5NmIzYjk5MThiZWIxNDRiMDciLCJhdmF0YXJIYXNoIjoiY2IwZGY0\nNTA1NWJhYzg0ZTdjNWZiNzI4ZTAwZTIwMTUiLCJmdWxsTmFtZSI6IlRhY28g\nS2l0IiwiaW5pdGlhbHMiOiJUSyIsInVzZXJuYW1lIjoidGFjb2tpdCJ9fSx7\nImlkIjoiNTQ4ZTMxMDFjNGQ3ZDNjMmE2ODY4ZGUzIiwiaWRNZW1iZXJDcmVh\ndG9yIjoiNTQ4YTY2OTZiM2I5OTE4YmViMTQ0YjA3IiwiZGF0YSI6eyJvcmdh\nbml6YXRpb24iOnsibmFtZSI6IlRlYW0gVGFjb2tpdCIsImlkIjoiNTQ4ZTMw\nZTk2ODNlMTkyM2Y2NzZiYTIwIn0sImlkTWVtYmVyQWRkZWQiOiI0ZjA3OWFk\nYzczNjY4YjI0NGIxYzA5OWEiLCJtZW1iZXJUeXBlIjoibm9ybWFsIn0sInR5\ncGUiOiJhZGRNZW1iZXJUb09yZ2FuaXphdGlvbiIsImRhdGUiOiIyMDE0LTEy\nLTE1VDAwOjUzOjIxLjgzMVoiLCJtZW1iZXIiOnsiaWQiOiI0ZjA3OWFkYzcz\nNjY4YjI0NGIxYzA5OWEiLCJhdmF0YXJIYXNoIjoiNzA2ZTk1ZTQyN2Y5MTY3\nMGJmMjFlZWU2YWZjY2VlOTAiLCJmdWxsTmFtZSI6IlJvc3MgS2FmZmVuYmVy\nZ2VyIiwiaW5pdGlhbHMiOiJSSyIsInVzZXJuYW1lIjoicm9zc3RhIn0sIm1l\nbWJlckNyZWF0b3IiOnsiaWQiOiI1NDhhNjY5NmIzYjk5MThiZWIxNDRiMDci\nLCJhdmF0YXJIYXNoIjoiY2IwZGY0NTA1NWJhYzg0ZTdjNWZiNzI4ZTAwZTIw\nMTUiLCJmdWxsTmFtZSI6IlRhY28gS2l0IiwiaW5pdGlhbHMiOiJUSyIsInVz\nZXJuYW1lIjoidGFjb2tpdCJ9fSx7ImlkIjoiNTQ4ZTMwZTk2ODNlMTkyM2Y2\nNzZiYTIyIiwiaWRNZW1iZXJDcmVhdG9yIjoiNTQ4YTY2OTZiM2I5OTE4YmVi\nMTQ0YjA3IiwiZGF0YSI6eyJvcmdhbml6YXRpb24iOnsibmFtZSI6IlRlYW0g\nVGFjb2tpdCIsImlkIjoiNTQ4ZTMwZTk2ODNlMTkyM2Y2NzZiYTIwIn19LCJ0\neXBlIjoiY3JlYXRlT3JnYW5pemF0aW9uIiwiZGF0ZSI6IjIwMTQtMTItMTVU\nMDA6NTI6NTcuNjU3WiIsIm1lbWJlckNyZWF0b3IiOnsiaWQiOiI1NDhhNjY5\nNmIzYjk5MThiZWIxNDRiMDciLCJhdmF0YXJIYXNoIjoiY2IwZGY0NTA1NWJh\nYzg0ZTdjNWZiNzI4ZTAwZTIwMTUiLCJmdWxsTmFtZSI6IlRhY28gS2l0Iiwi\naW5pdGlhbHMiOiJUSyIsInVzZXJuYW1lIjoidGFjb2tpdCJ9fV0=\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 00:02:35 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/organizations/teamtacokit/boards?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.268.2"],"X-Trello-Environment":["Production"],"Set-Cookie":["___utmvaDFussFI=tYL\u0001QQKC; path=/; Max-Age=900","___utmvbDFussFI=yZA XKmOualz: ttn; path=/; Max-Age=900","___utmvmDFussFI=KOOsdKmPAVt; path=/; Max-Age=900","dsc=ce6db182921834087614afe3039e583bf0980787a847ed77f12e417d997f1783; Path=/; Expires=Sat, 20 Dec 2014 00:02:27 GMT; Secure","incap_ses_156_168562=8qMpcOnk1mDPbMhmcjoqAhLIkFQAAAAAVqWlwsk/pOq24V4TO0BUmQ==; path=/; Domain=.trello.com","visid_incap_168562=l1QLJgM9SEGjqFFJNR3fARLIkFQAAAAAQUIPAAAAAAAA4qEDBbbd5dst4ZQ7adia; expires=Thu, 15 Dec 2016 12:25:23 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418774547309"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Etag":["\"1104458096\""],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 00:02:27 GMT"],"Transfer-Encoding":["chunked"],"X-Iinfo":["10-61943159-61920947 PNNY RT(1418774546551 47) q(0 0 0 -1) r(1 1) U10000"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"W3siaWQiOiI1NDhhNjc1NTgxZDFkNjY5YzllODE4NGUiLCJuYW1lIjoiVGVz\ndCBCb2FyZCIsImRlc2MiOiIiLCJkZXNjRGF0YSI6bnVsbCwiY2xvc2VkIjpm\nYWxzZSwiaWRPcmdhbml6YXRpb24iOiI1NDhlMzBlOTY4M2UxOTIzZjY3NmJh\nMjAiLCJpbnZpdGVkIjpmYWxzZSwicGlubmVkIjpmYWxzZSwic3RhcnJlZCI6\nZmFsc2UsInVybCI6Imh0dHBzOi8vdHJlbGxvLmNvbS9iL3N3ZXpROVhTL3Rl\nc3QtYm9hcmQiLCJwcmVmcyI6eyJwZXJtaXNzaW9uTGV2ZWwiOiJwdWJsaWMi\nLCJ2b3RpbmciOiJkaXNhYmxlZCIsImNvbW1lbnRzIjoibWVtYmVycyIsImlu\ndml0YXRpb25zIjoibWVtYmVycyIsInNlbGZKb2luIjpmYWxzZSwiY2FyZENv\ndmVycyI6dHJ1ZSwiY2FyZEFnaW5nIjoicmVndWxhciIsImNhbGVuZGFyRmVl\nZEVuYWJsZWQiOmZhbHNlLCJiYWNrZ3JvdW5kIjoiZ3JlZW4iLCJiYWNrZ3Jv\ndW5kQ29sb3IiOiIjMUU5RjQ5IiwiYmFja2dyb3VuZEltYWdlIjpudWxsLCJi\nYWNrZ3JvdW5kSW1hZ2VTY2FsZWQiOm51bGwsImJhY2tncm91bmRUaWxlIjpm\nYWxzZSwiYmFja2dyb3VuZEJyaWdodG5lc3MiOiJ1bmtub3duIiwiY2FuQmVQ\ndWJsaWMiOnRydWUsImNhbkJlT3JnIjp0cnVlLCJjYW5CZVByaXZhdGUiOnRy\ndWUsImNhbkludml0ZSI6dHJ1ZX0sImludml0YXRpb25zIjpbXSwibWVtYmVy\nc2hpcHMiOlt7ImlkIjoiNTQ4YTY3NTU4MWQxZDY2OWM5ZTgxODRmIiwiaWRN\nZW1iZXIiOiI1NDhhNjY5NmIzYjk5MThiZWIxNDRiMDciLCJtZW1iZXJUeXBl\nIjoiYWRtaW4iLCJ1bmNvbmZpcm1lZCI6ZmFsc2UsImRlYWN0aXZhdGVkIjpm\nYWxzZX0seyJpZCI6IjU0OGE2NzZlZTdjYzM3OWRlYmI4ZDljNiIsImlkTWVt\nYmVyIjoiNGYwNzlhZGM3MzY2OGIyNDRiMWMwOTlhIiwibWVtYmVyVHlwZSI6\nIm5vcm1hbCIsInVuY29uZmlybWVkIjpmYWxzZSwiZGVhY3RpdmF0ZWQiOmZh\nbHNlfV0sInNob3J0TGluayI6InN3ZXpROVhTIiwic3Vic2NyaWJlZCI6ZmFs\nc2UsImxhYmVsTmFtZXMiOnsiZ3JlZW4iOiJMYWJlbCAxIiwieWVsbG93Ijoi\nTGFiZWwgMiIsIm9yYW5nZSI6IkxhYmVsIDMiLCJyZWQiOiJMYWJlbCA0Iiwi\ncHVycGxlIjoiTGFiZWwgNSIsImJsdWUiOiJMYWJlbCA2Iiwic2t5IjoiIiwi\nbGltZSI6IiIsInBpbmsiOiIiLCJibGFjayI6IiJ9LCJwb3dlclVwcyI6W10s\nImRhdGVMYXN0QWN0aXZpdHkiOiIyMDE0LTEyLTE2VDE0OjAzOjA5LjAyNFoi\nLCJkYXRlTGFzdFZpZXciOiIyMDE0LTEyLTE2VDIzOjUyOjMwLjU1N1oiLCJz\naG9ydFVybCI6Imh0dHBzOi8vdHJlbGxvLmNvbS9iL3N3ZXpROVhTIn1d\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 00:02:35 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/organizations/teamtacokit/members?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.268.2"],"X-Trello-Environment":["Production"],"Set-Cookie":["___utmvaDFussFI=TQW\u0001HgfW; path=/; Max-Age=900","___utmvbDFussFI=TZU XxlOyalQ: utC; path=/; Max-Age=900","___utmvmDFussFI=gOiDPkCACyo; path=/; Max-Age=900","dsc=e41fcc18cfcd458e30e2ae747b257e2a2b3d4b3d573d2291e3b8e30312a03aa5; Path=/; Expires=Sat, 20 Dec 2014 00:02:27 GMT; Secure","incap_ses_156_168562=w50GIdTz/nEgbchmcjoqAhPIkFQAAAAAff+5VDaCDYUFpwoWLZeR9Q==; path=/; Domain=.trello.com","visid_incap_168562=/Qx9nhYFSHez3K0uQeRD9RPIkFQAAAAAQUIPAAAAAACYV02s+r122jophMJQvOO8; expires=Thu, 15 Dec 2016 12:25:23 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418774547635"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["163"],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 00:02:27 GMT"],"X-Iinfo":["10-61943206-61933241 PNNY RT(1418774546882 49) q(0 0 0 -1) r(1 1) U10000"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"W3siaWQiOiI0ZjA3OWFkYzczNjY4YjI0NGIxYzA5OWEiLCJmdWxsTmFtZSI6\nIlJvc3MgS2FmZmVuYmVyZ2VyIiwidXNlcm5hbWUiOiJyb3NzdGEifSx7Imlk\nIjoiNTQ4YTY2OTZiM2I5OTE4YmViMTQ0YjA3IiwiZnVsbE5hbWUiOiJUYWNv\nIEtpdCIsInVzZXJuYW1lIjoidGFjb2tpdCJ9XQ==\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 00:02:35 GMT"}],"recorded_with":"VCR 2.9.3"}
|
data/spec/cassettes/Tacokit_Client_Organizations/_update_organization/updates_a_organization.json
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"put","uri":"https://api.trello.com/1/organizations/teamtacokit","body":{"encoding":"UTF-8","base64_string":"ZGVzYz1UaGlzK29yZ2FuaXphdGlvbitpcytmb3IrVGFjb2tpdCtjb2xsYWJv\ncmF0aW9u\n"},"headers":{"User-Agent":["TacoKit 0.0.1"],"Authorization":["OAuth oauth_consumer_key=\"<TRELLO_APP_KEY>\", oauth_nonce=\"3c17e440f3c11d281d4df85083845412\", oauth_signature=\"C59ydMYCOvdzrzI0O6zFxCpCQ9A%3D\", oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"1418851168\", oauth_token=\"<TRELLO_OAUTH_TOKEN>\", oauth_version=\"1.0\""],"Content-Type":["application/x-www-form-urlencoded"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.269.0"],"X-Trello-Environment":["Production"],"Set-Cookie":["dsc=328609ca0bacc42fbae5714f15916d1f02205f94ee0c94ec70b5b726701413be; Path=/; Expires=Sat, 20 Dec 2014 21:19:21 GMT; Secure","incap_ses_156_168562=f1RJdpF+gwAZPABocjoqAlnzkVQAAAAArCr+qtKaMDUF8GqxsRKTwA==; path=/; Domain=.trello.com","visid_incap_168562=6+ibtnhlStGHx8wDY/e68lnzkVQAAAAAQUIPAAAAAAAgQG2m2q03rSfTdjJ1fiv6; expires=Fri, 16 Dec 2016 12:25:11 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418851161928"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["261"],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 21:19:21 GMT"],"X-Iinfo":["5-29216500-29208749 PNNY RT(1418851161113 71) q(0 0 0 1) r(1 1) U6"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6IjU0OGUzMGU5NjgzZTE5MjNmNjc2YmEyMCIsIm5hbWUiOiJ0ZWFt\ndGFjb2tpdCIsImRpc3BsYXlOYW1lIjoiVGVhbSBUYWNva2l0IiwiZGVzYyI6\nIlRoaXMgb3JnYW5pemF0aW9uIGlzIGZvciBUYWNva2l0IGNvbGxhYm9yYXRp\nb24iLCJkZXNjRGF0YSI6eyJlbW9qaSI6e319LCJ1cmwiOiJodHRwczovL3Ry\nZWxsby5jb20vdGVhbXRhY29raXQiLCJ3ZWJzaXRlIjpudWxsLCJsb2dvSGFz\naCI6bnVsbCwicHJvZHVjdHMiOltdLCJwb3dlclVwcyI6W119\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 21:19:28 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/search?key=<TRELLO_APP_KEY>&query=taco&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Etag":["\"-2112338297\""],"Content-Length":["739"],"Content-Type":["application/json"],"Set-Cookie":["___utmvaDOussFI=iFl\u0001wTIl; path=/; Max-Age=900","___utmvbDOussFI=YZq XRyOvalQ: qtx; path=/; Max-Age=900","___utmvmDOussFI=WyxuURpSqVY; path=/; Max-Age=900","dsc=61791cd128fdb56113334f516193e6997e18dd31a8a8fdc811499b036903d5c4; Path=/; Expires=Thu, 18 Dec 2014 01:09:07 GMT; Secure","incap_ses_220_168562=BjKLbxFgCkcwxaUVNZkNA7I0jlQAAAAAJQDMOImkN4Wp2IC0p2VP6g==; path=/; Domain=.trello.com","visid_incap_168562=YhcGBCbjTfq+zIBpk0cLnrI0jlQAAAAAQUIPAAAAAAAKhwMco5AXG0L+NZoBFYBL; expires=Tue, 13 Dec 2016 12:28:08 GMT; path=/; Domain=.trello.com"],"Date":["Mon, 15 Dec 2014 01:09:06 GMT"],"X-Iinfo":["10-57818497-57754271 PVNY RT(1418605746528 55) q(0 0 0 -1) r(2 2)"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJvcHRpb25zIjp7InRlcm1zIjpbeyJ0ZXh0IjoidGFjbyJ9XSwibW9kaWZp\nZXJzIjpbXSwibW9kZWxUeXBlcyI6WyJhY3Rpb25zIiwiY2FyZHMiLCJib2Fy\nZHMiLCJvcmdhbml6YXRpb25zIiwibWVtYmVycyJdLCJwYXJ0aWFsIjpmYWxz\nZX0sImJvYXJkcyI6W10sImNhcmRzIjpbeyJpZCI6IjU0OGE2Njk2YjNiOTkx\nOGJlYjE0NGIxMiIsImJhZGdlcyI6eyJ2b3RlcyI6MCwidmlld2luZ01lbWJl\nclZvdGVkIjpmYWxzZSwic3Vic2NyaWJlZCI6ZmFsc2UsImZvZ2J1Z3oiOiIi\nLCJjaGVja0l0ZW1zIjowLCJjaGVja0l0ZW1zQ2hlY2tlZCI6MCwiY29tbWVu\ndHMiOjAsImF0dGFjaG1lbnRzIjoxLCJkZXNjcmlwdGlvbiI6dHJ1ZSwiZHVl\nIjpudWxsfSwiY2hlY2tJdGVtU3RhdGVzIjpbXSwiY2xvc2VkIjpmYWxzZSwi\nZGF0ZUxhc3RBY3Rpdml0eSI6IjIwMTQtMTItMTJUMDM6NTI6NTQuNjEyWiIs\nImRlc2MiOiJUaGlzIGlzIFRhY28sIHRoZSBtb3N0IGZhbW91cyBTaWJlcmlh\nbiBIdXNreSBpbiBOZXcgWW9yayBDaXR5LCBhbmQgb2ZmaWNpYWwgc3Bva2Vz\nLW1hc2NvdCBmb3IgVHJlbGxvLiBZb3UgbWlnaHQgc2VlIGhpbSBhcm91bmQg\nVHJlbGxvIGludHJvZHVjaW5nIG5ldyBmZWF0dXJlcyBhbmQgd2hhdG5vdC4i\nLCJkZXNjRGF0YSI6bnVsbCwiZHVlIjpudWxsLCJlbWFpbCI6InRhY29raXQr\nNTQ4YTY2OTZiM2I5OTE4YmViMTQ0YjA3KzU0OGE2Njk2YjNiOTkxOGJlYjE0\nNGIxMitkMjczNDEyZDUxYmVhY2Q1NWM4MjAwNzU1OGQxODRkNzAwNmU1ZWU5\nQGJvYXJkcy50cmVsbG8uY29tIiwiaWRCb2FyZCI6IjU0OGE2Njk2YjNiOTkx\nOGJlYjE0NGIwOCIsImlkQ2hlY2tsaXN0cyI6W10sImlkTGlzdCI6IjU0OGE2\nNjk2YjNiOTkxOGJlYjE0NGIwYSIsImlkTWVtYmVycyI6W10sImlkTWVtYmVy\nc1ZvdGVkIjpbXSwiaWRTaG9ydCI6NCwiaWRBdHRhY2htZW50Q292ZXIiOiI1\nNDhhNjY5NmIzYjk5MThiZWIxNDRiMTMiLCJtYW51YWxDb3ZlckF0dGFjaG1l\nbnQiOmZhbHNlLCJsYWJlbHMiOltdLCJpZExhYmVscyI6W10sIm5hbWUiOiJZ\nb3UgY2FuIGF0dGFjaCBwaWN0dXJlcyBhbmQgZmlsZXMuLi4iLCJwb3MiOjI2\nMjE0Mywic2hvcnRMaW5rIjoibEJIYnBmazkiLCJzaG9ydFVybCI6Imh0dHBz\nOi8vdHJlbGxvLmNvbS9jL2xCSGJwZms5Iiwic3Vic2NyaWJlZCI6ZmFsc2Us\nInVybCI6Imh0dHBzOi8vdHJlbGxvLmNvbS9jL2xCSGJwZms5LzQteW91LWNh\nbi1hdHRhY2gtcGljdHVyZXMtYW5kLWZpbGVzIn1dLCJvcmdhbml6YXRpb25z\nIjpbXSwibWVtYmVycyI6W3siaWQiOiI1NDhhNjY5NmIzYjk5MThiZWIxNDRi\nMDciLCJhdmF0YXJIYXNoIjoiY2IwZGY0NTA1NWJhYzg0ZTdjNWZiNzI4ZTAw\nZTIwMTUiLCJmdWxsTmFtZSI6IlRhY28gS2l0IiwiaW5pdGlhbHMiOiJUSyIs\nInVzZXJuYW1lIjoidGFjb2tpdCIsImNvbmZpcm1lZCI6dHJ1ZX1dfQ==\n"},"http_version":null},"recorded_at":"Mon, 15 Dec 2014 01:09:07 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"delete","uri":"https://api.trello.com/1/tokens/faketokenid?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"UTF-8","base64_string":"e30=\n"},"headers":{"User-Agent":["TacoKit 0.0.1"],"Content-Type":["application/json"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":400,"message":"Bad Request"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.272.0"],"X-Trello-Environment":["Production"],"Set-Cookie":["dsc=2b6f49da374b7d7b97f9433b3a575c79093edd3539a8a9453a7941571ff4df01; Path=/; Expires=Thu, 01 Jan 2015 13:57:38 GMT; Secure","incap_ses_220_168562=m5/dMUPv9np093dqN5kNA9FdoVQAAAAA0w8SgD9XV6vOVe9uH7KXCQ==; path=/; Domain=.trello.com","visid_incap_168562=Lfk2VavhR3Gs1jfi4wGypdFdoVQAAAAAQUIPAAAAAABS2bOHdTwerfe84SC8wvdx; expires=Tue, 27 Dec 2016 15:33:19 GMT; path=/; Domain=.trello.com"],"Content-Type":["text/plain"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["14"],"Vary":["Accept-Encoding"],"Date":["Mon, 29 Dec 2014 13:57:38 GMT"],"X-Iinfo":["9-54476322-54468024 PNNY RT(1419861456955 62) q(0 0 0 1) r(0 0) U6"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"aW52YWxpZCB0b2tlbgo=\n"},"http_version":null},"recorded_at":"Mon, 29 Dec 2014 13:57:38 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/tokens/<TRELLO_APP_TOKEN>?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.269.0"],"X-Trello-Environment":["Production"],"Set-Cookie":["dsc=a9b430cb6e1b57ff52ddeb999575f9b2f188d91cd51967387fd79105a0f8bb8f; Path=/; Expires=Sat, 20 Dec 2014 22:09:14 GMT; Secure","incap_ses_156_168562=GxZOQX+geGSdSA9ocjoqAgn/kVQAAAAAmx84i/Wa1hkzGy4ZLbtwPA==; path=/; Domain=.trello.com","visid_incap_168562=6yTrUH0OTNaNTteaCecegwn/kVQAAAAAQUIPAAAAAACWnjbFMRUkYdFv8k4zxKEx; expires=Fri, 16 Dec 2016 12:25:24 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418854154611"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["400"],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 22:09:14 GMT"],"X-Iinfo":["10-72279767-72260911 PNNY RT(1418854153764 155) q(0 0 0 -1) r(0 0)"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6IjU0OTFkZWZhYmIxY2U1OGVhYzIyMzZlZSIsImlkZW50aWZpZXIi\nOiJUYWNva2l0IFRlc3QgLSBMZW9uaWRhcyIsImlkTWVtYmVyIjoiNGYwNzlh\nZGM3MzY2OGIyNDRiMWMwOTlhIiwiZGF0ZUNyZWF0ZWQiOiIyMDE0LTEyLTE3\nVDE5OjUyOjI2LjAzOVoiLCJkYXRlRXhwaXJlcyI6bnVsbCwicGVybWlzc2lv\nbnMiOlt7ImlkTW9kZWwiOiI0ZjA3OWFkYzczNjY4YjI0NGIxYzA5OWEiLCJt\nb2RlbFR5cGUiOiJNZW1iZXIiLCJyZWFkIjp0cnVlLCJ3cml0ZSI6dHJ1ZX0s\neyJpZE1vZGVsIjoiKiIsIm1vZGVsVHlwZSI6IkJvYXJkIiwicmVhZCI6dHJ1\nZSwid3JpdGUiOnRydWV9LHsiaWRNb2RlbCI6IioiLCJtb2RlbFR5cGUiOiJP\ncmdhbml6YXRpb24iLCJyZWFkIjp0cnVlLCJ3cml0ZSI6dHJ1ZX1dfQ==\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 22:09:23 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/tokens/<TRELLO_APP_TOKEN>/dateCreated?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.269.0"],"X-Trello-Environment":["Production"],"Set-Cookie":["dsc=1cf2e0982bc849f7e812513994a11880b4b270cabb7aeafea4d6b25a2231a92a; Path=/; Expires=Sat, 20 Dec 2014 22:09:24 GMT; Secure","incap_ses_156_168562=dXzYF6qXog+qUw9ocjoqAhP/kVQAAAAAkv/W9aSuKi1k/ui8OSRwMQ==; path=/; Domain=.trello.com","visid_incap_168562=i15iTDW9S4WSocd/RZmZ6BP/kVQAAAAAQUIPAAAAAACjo2+WnEEpkoV8vCCzkTPg; expires=Fri, 16 Dec 2016 12:25:25 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418854164562"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["38"],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 22:09:24 GMT"],"X-Iinfo":["8-52916801-52913623 PNNY RT(1418854163792 94) q(0 0 0 -1) r(1 1)"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJfdmFsdWUiOiIyMDE0LTEyLTE3VDE5OjUyOjI2LjAzOVoifQo=\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 22:09:33 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/tokens/<TRELLO_APP_TOKEN>/permissions?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.269.0"],"X-Trello-Environment":["Production"],"Set-Cookie":["dsc=1285d79103d805ab97b03e97e2ebe6fd4501d99368427e70549a9584e21b66e6; Path=/; Expires=Sat, 20 Dec 2014 22:09:24 GMT; Secure","incap_ses_156_168562=VClbYHv4A1rmUw9ocjoqAhT/kVQAAAAAts+GdzV2sexaLpV/Io9yXQ==; path=/; Domain=.trello.com","visid_incap_168562=ja8SUf1GTFivZMguHaYeHxT/kVQAAAAAQUIPAAAAAAD2QfGneunLseraxcX0TChO; expires=Fri, 16 Dec 2016 12:25:24 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418854164797"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["215"],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 22:09:24 GMT"],"X-Iinfo":["10-72281048-72259057 PNNY RT(1418854163988 126) q(0 0 0 -1) r(0 0)"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"W3siaWRNb2RlbCI6IjRmMDc5YWRjNzM2NjhiMjQ0YjFjMDk5YSIsIm1vZGVs\nVHlwZSI6Ik1lbWJlciIsInJlYWQiOnRydWUsIndyaXRlIjp0cnVlfSx7Imlk\nTW9kZWwiOiIqIiwibW9kZWxUeXBlIjoiQm9hcmQiLCJyZWFkIjp0cnVlLCJ3\ncml0ZSI6dHJ1ZX0seyJpZE1vZGVsIjoiKiIsIm1vZGVsVHlwZSI6Ik9yZ2Fu\naXphdGlvbiIsInJlYWQiOnRydWUsIndyaXRlIjp0cnVlfV0=\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 22:09:33 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/tokens/<TRELLO_APP_TOKEN>/member?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.269.0"],"X-Trello-Environment":["Production"],"Set-Cookie":["dsc=6ad7d3c38bf5c8c95545a1697fff7380f0504f4469b6f2d4ea645b6fd0b15807; Path=/; Expires=Sat, 20 Dec 2014 22:09:24 GMT; Secure","incap_ses_156_168562=qdJrSqat/zgcVA9ocjoqAhT/kVQAAAAABhPBnWqA8jJrzERPWJqeYw==; path=/; Domain=.trello.com","visid_incap_168562=iXX3MRQRTeGV5f+BKeKWVRT/kVQAAAAAQUIPAAAAAABGhDXoHAN0ngbYitPzAUl4; expires=Fri, 16 Dec 2016 12:25:24 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418854164966"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Etag":["\"-283387318\""],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 22:09:24 GMT"],"Transfer-Encoding":["chunked"],"X-Iinfo":["9-66959830-66871368 PNNY RT(1418854164225 40) q(0 0 0 -1) r(1 1)"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6IjRmMDc5YWRjNzM2NjhiMjQ0YjFjMDk5YSIsImF2YXRhckhhc2gi\nOiI3MDZlOTVlNDI3ZjkxNjcwYmYyMWVlZTZhZmNjZWU5MCIsImJpbyI6IiIs\nImJpb0RhdGEiOnsiZW1vamkiOnt9fSwiY29uZmlybWVkIjp0cnVlLCJmdWxs\nTmFtZSI6IlJvc3MgS2FmZmVuYmVyZ2VyIiwiaWRQcmVtT3Jnc0FkbWluIjpb\nXSwiaW5pdGlhbHMiOiJSSyIsIm1lbWJlclR5cGUiOiJub3JtYWwiLCJwcm9k\ndWN0cyI6W10sInN0YXR1cyI6ImlkbGUiLCJ1cmwiOiJodHRwczovL3RyZWxs\nby5jb20vcm9zc3RhIiwidXNlcm5hbWUiOiJyb3NzdGEiLCJhdmF0YXJTb3Vy\nY2UiOiJncmF2YXRhciIsImVtYWlsIjoicm9zc2thZmZAZ21haWwuY29tIiwi\nZ3JhdmF0YXJIYXNoIjoiYjAxNjlhNzhmODUxOTYyMDU4ZDYzMzM3YWQwMTQ3\nZDYiLCJpZEJvYXJkcyI6WyI0ZjA3OWIwY2Y0NDAyYjYxMDcwYzEyYzMiLCI0\nZjA3OWRhMDBhZjZlNzFiMGMyMzNjYjIiLCI0ZjRiYTA2NzM2YWVkYmQ0NjMw\nNjAzMjkiLCI0ZjRiYjE3ODZmYTFlYWQ3NjMxN2Q3NWYiLCI0ZjRmYTc4MWMz\nYzZmZGRhNzI4OGZkOTkiLCI0ZjY1MTY4NDRmY2Y5NjQxM2ExYThiMGYiLCI0\nZjlmZmJlYzcyZTBlNGI2MTUwYTE1OWYiLCI0ZmE0NGMyMzJkZDRmZDcxNGEy\nYmU1ZjQiLCI0ZmRiOTQ2YzcxYzQ4MGJmNGQwYTI4MzUiLCI0ZmUxYzU3NzMz\nZGRkNWU1Nzg1ZTJhYzIiLCI1MDk0MDEwM2QzZjM4YWIzMjcwMDMwOTMiLCI1\nMDk5NWFkZDRlMjA5NjViMTYwMDk4NTYiLCI1MTQ4ODljNmVjNmE0NzgxMjIw\nMDUzZTkiLCI1MTRiNmJjODE3NzRkYjY0NDYwMDBhMjIiLCI1MTRiMzc4MGJl\nNjJhZTljNjUwMDAwMTUiLCI1MTJlMjUwMGY1N2Q2Mzk3NjUwMDM1NGMiLCI1\nMmVjMzA3ZTNjZGQ1MjhhMGMzMjUzNTEiLCI1MmYyNzE5YTM4NzM2YzIxNGFj\nZjhkZWIiLCI1Mzg3YWQyYmVjMTdkYjMyZTZmNTRkMzMiLCI1M2UyZjg2YjU4\nYjY4ODE5N2I3NmJiOTMiLCI1NDM2YTAwMDc5MmE5NGU4ZTIzOTdmZTEiLCI1\nNDZlYTlkMDRmZGI5MzJhM2RlOWNiMzYiLCI1NDZlYjdiMzhlNzE1MmZiMzli\nNGI4MmQiLCI1NDdlM2U2NzA2MjYyNzYwMDlhZGE1YWYiLCI1NDhhNjc1NTgx\nZDFkNjY5YzllODE4NGUiXSwiaWRPcmdhbml6YXRpb25zIjpbIjRmMDc5ZDg4\nNTNlN2Y3ZDQ2NDAwYjA2ZSIsIjRlZDNhOGFlZmQ5Y2FlN2UwMjA0NjFiOSIs\nIjU0OGUzMGU5NjgzZTE5MjNmNjc2YmEyMCIsIjRlZTI2OWUwYzlmZWJhNDQ0\nNjA0NGMyZiJdLCJsb2dpblR5cGVzIjpbInBhc3N3b3JkIl0sIm5ld0VtYWls\nIjpudWxsLCJvbmVUaW1lTWVzc2FnZXNEaXNtaXNzZWQiOlsibmV3dHJlbGxv\nSW50cm8iXSwicHJlZnMiOnsic2VuZFN1bW1hcmllcyI6dHJ1ZSwibWludXRl\nc0JldHdlZW5TdW1tYXJpZXMiOjEsIm1pbnV0ZXNCZWZvcmVEZWFkbGluZVRv\nTm90aWZ5IjoxNDQwLCJjb2xvckJsaW5kIjp0cnVlLCJ0aW1lem9uZUluZm8i\nOnsidGltZXpvbmVOZXh0IjoiRURUIiwiZGF0ZU5leHQiOiIyMDE1LTAzLTA4\nVDA3OjAwOjAwLjAwMFoiLCJvZmZzZXROZXh0IjoyNDAsInRpbWV6b25lQ3Vy\ncmVudCI6IkVTVCIsIm9mZnNldEN1cnJlbnQiOjMwMH19LCJ0cm9waGllcyI6\nWyJpT1MiXSwidXBsb2FkZWRBdmF0YXJIYXNoIjpudWxsLCJwcmVtaXVtRmVh\ndHVyZXMiOltdLCJpZEJvYXJkc1Bpbm5lZCI6bnVsbH0=\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 22:09:33 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/tokens/<TRELLO_APP_TOKEN>/webhooks?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.269.0"],"X-Trello-Environment":["Production"],"Set-Cookie":["dsc=380ed1afd8ced1cd6a06788568be30f3582d596f9ec90fe57bff9ba67308b7d6; Path=/; Expires=Sat, 20 Dec 2014 22:09:25 GMT; Secure","incap_ses_156_168562=f6H9Y/lrX0lrVA9ocjoqAhT/kVQAAAAAvx/jYhgvrqKY0FSuIXDh3w==; path=/; Domain=.trello.com","visid_incap_168562=kwSYtWkvTsiABBJdGt4OKhT/kVQAAAAAQUIPAAAAAABbrqFG3IORuJ7hlUA5w3gu; expires=Fri, 16 Dec 2016 12:25:16 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418854165231"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["157"],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 22:09:25 GMT"],"X-Iinfo":["7-46375465-46367080 PNNY RT(1418854164405 132) q(0 0 0 -1) r(0 0)"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"W3siaWQiOiI1NDkxZmYxNGQ2MGUwMzYzNWMyNjAzOTMiLCJkZXNjcmlwdGlv\nbiI6IiIsImlkTW9kZWwiOiI1NDhlMzBlOTY4M2UxOTIzZjY3NmJhMjAiLCJj\nYWxsYmFja1VSTCI6Imh0dHBzOi8vdGFjb2tpdC5oZXJva3VhcHAuY29tL3dl\nYmhvb2siLCJhY3RpdmUiOnRydWV9XQ==\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 22:09:33 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/types/teamtacokit?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.267.1"],"X-Trello-Environment":["Production"],"Set-Cookie":["___utmvaDOussFI=ghq\u0001IwbO; path=/; Max-Age=900","___utmvbDOussFI=YZb XkbOkalj: Gtn; path=/; Max-Age=900","___utmvmDOussFI=SRSuBKUyWkZ; path=/; Max-Age=900","dsc=861fb151e47957b8829efce24e8cd04bf1cf9d139cc75002dd11cf516322a748; Path=/; Expires=Fri, 19 Dec 2014 13:41:29 GMT; Secure","incap_ses_220_168562=OogVbFQ2MDVmpewXNZkNA4g2kFQAAAAAWY30aIcAWujbU0u8tyeweQ==; path=/; Domain=.trello.com","visid_incap_168562=VTvmjIuhRj6rmbmtZFXB5Ig2kFQAAAAAQUIPAAAAAACooKyjuww3KtT2UiLIKAmX; expires=Thu, 15 Dec 2016 12:28:10 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418737289406"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["55"],"Vary":["Accept-Encoding"],"Date":["Tue, 16 Dec 2014 13:41:29 GMT"],"X-Iinfo":["3-4936295-4935529 PNNY RT(1418737288326 41) q(0 0 0 -1) r(1 1)"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJ0eXBlIjoib3JnYW5pemF0aW9uIiwiaWQiOiI1NDhlMzBlOTY4M2UxOTIz\nZjY3NmJhMjAifQ==\n"},"http_version":null},"recorded_at":"Tue, 16 Dec 2014 13:41:29 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"post","uri":"https://api.trello.com/1/webhooks?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"UTF-8","base64_string":"Y2FsbGJhY2tVUkw9aHR0cHMlM0ElMkYlMkZ0YWNva2l0Lmhlcm9rdWFwcC5j\nb20lMkZ3ZWJob29rJTNGY3JlYXRlX3dlYmhvb2smaWRNb2RlbD01NDhlMzBl\nOTY4M2UxOTIzZjY3NmJhMjAmdG9rZW49PFRSRUxMT19BUFBfVE9LRU4+\n"},"headers":{"User-Agent":["TacoKit 0.0.1"],"Content-Type":["application/x-www-form-urlencoded"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.269.0"],"X-Trello-Environment":["Production"],"Set-Cookie":["___utmvaDOussFI=jXO\u0001mGuV; path=/; Max-Age=900","___utmvbDOussFI=GZW XIaOlalm: AtL; path=/; Max-Age=900","___utmvmDOussFI=PkljWkGuBIg; path=/; Max-Age=900","dsc=bb4d3babba2453de48de53a17d0793634dbed5f8e094257aeb4250af8d5dc387; Path=/; Expires=Sun, 21 Dec 2014 14:06:29 GMT; Secure","incap_ses_220_168562=sZfZdZc3K0anZOkaNZkNA2TfklQAAAAAw8U7+HIC+8rkP0dchXSMEw==; path=/; Domain=.trello.com","visid_incap_168562=Y0p2w5+YS9iKVN5dDXXby2TfklQAAAAAQUIPAAAAAABgIYFoJE0/WZ2GSwYu4cZ7; expires=Sat, 17 Dec 2016 12:28:12 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418911589498"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["170"],"Vary":["Accept-Encoding"],"Date":["Thu, 18 Dec 2014 14:06:29 GMT"],"X-Iinfo":["7-40109295-40100527 PNNY RT(1418911588188 40) q(0 0 0 -1) r(3 3) U6"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6IjU0OTJkZjY1NWEzOGFlOGU2ZDg2OGIxYyIsImRlc2NyaXB0aW9u\nIjoiIiwiaWRNb2RlbCI6IjU0OGUzMGU5NjgzZTE5MjNmNjc2YmEyMCIsImNh\nbGxiYWNrVVJMIjoiaHR0cHM6Ly90YWNva2l0Lmhlcm9rdWFwcC5jb20vd2Vi\naG9vaz9jcmVhdGVfd2ViaG9vayIsImFjdGl2ZSI6dHJ1ZX0=\n"},"http_version":null},"recorded_at":"Thu, 18 Dec 2014 14:06:29 GMT"},{"request":{"method":"delete","uri":"https://api.trello.com/1/webhooks/5492df655a38ae8e6d868b1c?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.269.0"],"X-Trello-Environment":["Production"],"Set-Cookie":["___utmvaDOussFI=hpb\u0001jJJk; path=/; Max-Age=900","___utmvbDOussFI=EZM XOoOOalb: Ftr; path=/; Max-Age=900","___utmvmDOussFI=QpBuHCLuPDT; path=/; Max-Age=900","dsc=8b0a1796b76a95f60768957f708572046a56085d305ab3dc1e74629c46e1f9cf; Path=/; Expires=Sun, 21 Dec 2014 14:06:29 GMT; Secure","incap_ses_220_168562=YRGgeUtawnYkZekaNZkNA2TfklQAAAAA+hbqaSq8LrT1VXk1z6FqIA==; path=/; Domain=.trello.com","visid_incap_168562=5cyAokkaRL6Vlb0FO39AmmTfklQAAAAAQUIPAAAAAAAeHxyc/UlHY9UxccWVFaXA; expires=Sat, 17 Dec 2016 12:28:12 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418911589887"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["16"],"Vary":["Accept-Encoding"],"Date":["Thu, 18 Dec 2014 14:06:29 GMT"],"X-Iinfo":["9-91083014-91064091 PNNY RT(1418911588647 40) q(0 0 0 -1) r(3 3) U6"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJfdmFsdWUiOm51bGx9Cg==\n"},"http_version":null},"recorded_at":"Thu, 18 Dec 2014 14:06:29 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"post","uri":"https://api.trello.com/1/webhooks?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"UTF-8","base64_string":"Y2FsbGJhY2tVUkw9aHR0cHMlM0ElMkYlMkZ0YWNva2l0Lmhlcm9rdWFwcC5j\nb20lMkZ3ZWJob29rJTNGZGVsZXRlX3dlYmhvb2smaWRNb2RlbD01NDhlMzBl\nOTY4M2UxOTIzZjY3NmJhMjAmdG9rZW49PFRSRUxMT19BUFBfVE9LRU4+\n"},"headers":{"User-Agent":["TacoKit 0.0.1"],"Content-Type":["application/x-www-form-urlencoded"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.269.0"],"X-Trello-Environment":["Production"],"Set-Cookie":["___utmvaDOussFI=hdQ\u0001tOeT; path=/; Max-Age=900","___utmvbDOussFI=TZK XZDOqalF: utA; path=/; Max-Age=900","___utmvmDOussFI=tqYZPJplvqe; path=/; Max-Age=900","dsc=99de06b30c3e5da7e3b164192aca586b84a30782243e45ad95f3c5f20f8675a4; Path=/; Expires=Sun, 21 Dec 2014 14:01:24 GMT; Secure","incap_ses_220_168562=XrjdM8aHEVK5FOgaNZkNAzPeklQAAAAAqUDyrm1e9gs+pYicZp8Egw==; path=/; Domain=.trello.com","visid_incap_168562=t1wFijF5TO6lgNHyYOEcYzPeklQAAAAAQUIPAAAAAACWSpujhY82GOagapmEY0so; expires=Sat, 17 Dec 2016 12:28:12 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418911284440"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["170"],"Vary":["Accept-Encoding"],"Date":["Thu, 18 Dec 2014 14:01:24 GMT"],"X-Iinfo":["10-114723728-114678617 PNNY RT(1418911283292 71) q(0 0 0 -1) r(1 1) U6"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6IjU0OTJkZTM0MTBhNGM4NjU3ZTQ0ZjUzMSIsImRlc2NyaXB0aW9u\nIjoiIiwiaWRNb2RlbCI6IjU0OGUzMGU5NjgzZTE5MjNmNjc2YmEyMCIsImNh\nbGxiYWNrVVJMIjoiaHR0cHM6Ly90YWNva2l0Lmhlcm9rdWFwcC5jb20vd2Vi\naG9vaz9kZWxldGVfd2ViaG9vayIsImFjdGl2ZSI6dHJ1ZX0=\n"},"http_version":null},"recorded_at":"Thu, 18 Dec 2014 14:01:24 GMT"},{"request":{"method":"delete","uri":"https://api.trello.com/1/webhooks/5492de3410a4c8657e44f531?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.269.0"],"X-Trello-Environment":["Production"],"Set-Cookie":["___utmvaDOussFI=TwB\u0001aCdn; path=/; Max-Age=900","___utmvbDOussFI=MZf XHnOyalc: CtA; path=/; Max-Age=900","___utmvmDOussFI=bOMjWtsKoHm; path=/; Max-Age=900","dsc=47f9474f0a829334d7a9e3be40867d23ff5f12fca5a678b7a594db53e158f26c; Path=/; Expires=Sun, 21 Dec 2014 14:01:24 GMT; Secure","incap_ses_220_168562=LxXZMGtSJGrjFOgaNZkNAzPeklQAAAAAtvI0OG9kuEsyayWhOzswPg==; path=/; Domain=.trello.com","visid_incap_168562=qcZkqlfQTVmxCvplfg5+8jPeklQAAAAAQUIPAAAAAAAyiSWbfF7eB1LvzLTrrmEV; expires=Sat, 17 Dec 2016 12:28:12 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418911284596"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["16"],"Vary":["Accept-Encoding"],"Date":["Thu, 18 Dec 2014 14:01:24 GMT"],"X-Iinfo":["10-114723761-114703319 PNNY RT(1418911283504 52) q(0 0 0 -1) r(1 1) U6"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJfdmFsdWUiOm51bGx9Cg==\n"},"http_version":null},"recorded_at":"Thu, 18 Dec 2014 14:01:24 GMT"},{"request":{"method":"get","uri":"https://api.trello.com/1/webhooks/5492de3410a4c8657e44f531?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":404,"message":"Not Found"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.269.0"],"X-Trello-Environment":["Production"],"Set-Cookie":["___utmvaDOussFI=PiA\u0001cRky; path=/; Max-Age=900","___utmvbDOussFI=FZs XIqOFalV: LtW; path=/; Max-Age=900","___utmvmDOussFI=mqjJQmrorGU; path=/; Max-Age=900","dsc=a37c4cb5ca5b32874511b965831b314726280a566ae7af42afea8cfa94bf00cd; Path=/; Expires=Sun, 21 Dec 2014 14:01:24 GMT; Secure","incap_ses_220_168562=Rgj0HVjOhEwCFegaNZkNAzPeklQAAAAAUcKjL7uTxKj3+P04oTR/Iw==; path=/; Domain=.trello.com","visid_incap_168562=mJB/bMSnQjOpVjkWjcgqfzPeklQAAAAAQUIPAAAAAAAdx7tdf+eEq40M4TDEwYq+; expires=Sat, 17 Dec 2016 12:28:12 GMT; path=/; Domain=.trello.com"],"Content-Type":["text/plain"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["38"],"Vary":["Accept-Encoding"],"Date":["Thu, 18 Dec 2014 14:01:24 GMT"],"X-Iinfo":["9-91029680-91015009 PNNY RT(1418911283650 45) q(0 0 0 -1) r(1 1) U11"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"VGhlIHJlcXVlc3RlZCByZXNvdXJjZSB3YXMgbm90IGZvdW5kLgo=\n"},"http_version":null},"recorded_at":"Thu, 18 Dec 2014 14:01:24 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"put","uri":"https://api.trello.com/1/webhooks/5491ff14d60e03635c260393?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"UTF-8","base64_string":"ZGVzY3JpcHRpb249VGhpcyt3ZWJob29rK2lzK2ZvcitUYWNva2l0K3Rlc3Rp\nbmc=\n"},"headers":{"User-Agent":["TacoKit 0.0.1"],"Content-Type":["application/x-www-form-urlencoded"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.269.0"],"X-Trello-Environment":["Production"],"Set-Cookie":["dsc=989e28796164fb2406199e94af1d73352b9605af6994e391490a6c609bd31388; Path=/; Expires=Sat, 20 Dec 2014 22:12:11 GMT; Secure","incap_ses_156_168562=HkXKUfUceFZNGBBocjoqArr/kVQAAAAAuSxq/jIr3ex7a/giyzzwlQ==; path=/; Domain=.trello.com","visid_incap_168562=NLrkgYoVTbC2H56EFltwkbr/kVQAAAAAQUIPAAAAAADOlGVSkidUP1aPScr/AuNZ; expires=Fri, 16 Dec 2016 12:25:24 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418854331312"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["190"],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 22:12:11 GMT"],"X-Iinfo":["9-66981849-66960125 PNNY RT(1418854330535 91) q(0 0 0 -1) r(0 0) U6"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6IjU0OTFmZjE0ZDYwZTAzNjM1YzI2MDM5MyIsImRlc2NyaXB0aW9u\nIjoiVGhpcyB3ZWJob29rIGlzIGZvciBUYWNva2l0IHRlc3RpbmciLCJpZE1v\nZGVsIjoiNTQ4ZTMwZTk2ODNlMTkyM2Y2NzZiYTIwIiwiY2FsbGJhY2tVUkwi\nOiJodHRwczovL3RhY29raXQuaGVyb2t1YXBwLmNvbS93ZWJob29rIiwiYWN0\naXZlIjp0cnVlfQ==\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 22:12:19 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/webhooks/5491ff14d60e03635c260393?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.269.0"],"X-Trello-Environment":["Production"],"Set-Cookie":["dsc=f511cf479abc5f62abf3397895c49344ed930f67a9e75ab90dd7628f27bb257b; Path=/; Expires=Sat, 20 Dec 2014 22:12:10 GMT; Secure","incap_ses_156_168562=yBFwbaEEBVXaFxBocjoqArr/kVQAAAAAEoLP5f6QXB+nQikCqnoXTw==; path=/; Domain=.trello.com","visid_incap_168562=JvXdVd4yTAmCwXWQjZuaJrr/kVQAAAAAQUIPAAAAAACODT4+ftZPnXbG7eWfljaR; expires=Fri, 16 Dec 2016 12:25:25 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418854330930"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["155"],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 22:12:10 GMT"],"X-Iinfo":["8-52934861-52933233 PNNY RT(1418854330190 57) q(0 0 0 -1) r(0 0)"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6IjU0OTFmZjE0ZDYwZTAzNjM1YzI2MDM5MyIsImRlc2NyaXB0aW9u\nIjoiIiwiaWRNb2RlbCI6IjU0OGUzMGU5NjgzZTE5MjNmNjc2YmEyMCIsImNh\nbGxiYWNrVVJMIjoiaHR0cHM6Ly90YWNva2l0Lmhlcm9rdWFwcC5jb20vd2Vi\naG9vayIsImFjdGl2ZSI6dHJ1ZX0=\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 22:12:19 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/webhooks/5491ff14d60e03635c260393/callbackUrl?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.269.0"],"X-Trello-Environment":["Production"],"Set-Cookie":["dsc=6d6e8a99daf1813a32c43403036ac9e232a90759542f2c158cc9d0be7e544126; Path=/; Expires=Sat, 20 Dec 2014 22:12:11 GMT; Secure","incap_ses_156_168562=fQMIKFU2eFgPGBBocjoqArr/kVQAAAAAMDhkRapjomevY6Bo0HsDkA==; path=/; Domain=.trello.com","visid_incap_168562=BETvsCXJScWm2JWE9xZdUrr/kVQAAAAAQUIPAAAAAABFi+TaxiOJ0nYWp/f5s7cy; expires=Fri, 16 Dec 2016 12:25:16 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418854331109"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["51"],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 22:12:11 GMT"],"X-Iinfo":["7-46391732-46280522 PNNY RT(1418854330365 51) q(0 0 0 -1) r(0 0)"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJfdmFsdWUiOiJodHRwczovL3RhY29raXQuaGVyb2t1YXBwLmNvbS93ZWJo\nb29rIn0K\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 22:12:19 GMT"}],"recorded_with":"VCR 2.9.3"}
|
Binary file
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,162 @@
|
|
1
|
+
require 'bundler/setup'
|
2
|
+
Bundler.setup
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'simplecov'
|
6
|
+
SimpleCov.start
|
7
|
+
rescue LoadError
|
8
|
+
warn "Skipping simplecov"
|
9
|
+
end
|
10
|
+
require 'dotenv'
|
11
|
+
Dotenv.load(File.expand_path("../../.env", __FILE__))
|
12
|
+
|
13
|
+
require 'tacokit'
|
14
|
+
require 'rspec'
|
15
|
+
require 'webmock/rspec'
|
16
|
+
|
17
|
+
WebMock.disable_net_connect!
|
18
|
+
|
19
|
+
RSpec.configure do |config|
|
20
|
+
config.before(:suite) do
|
21
|
+
warn "Using test_oauth_credentials #{ test_oauth_credentials }" if ENV['DEBUG']
|
22
|
+
end
|
23
|
+
|
24
|
+
config.before do
|
25
|
+
Tacokit.reset!
|
26
|
+
|
27
|
+
Tacokit.configure do |c|
|
28
|
+
c.app_key = test_trello_app_key
|
29
|
+
c.app_secret = test_trello_app_secret
|
30
|
+
c.app_token = test_trello_app_token
|
31
|
+
c.oauth_token = nil
|
32
|
+
c.oauth_secret = nil
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
config.around(:each, :silence_warnings) do |example|
|
37
|
+
verbose = $VERBOSE
|
38
|
+
$VERBOSE = nil
|
39
|
+
example.run
|
40
|
+
$VERBOSE = verbose
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
require 'vcr'
|
45
|
+
VCR.configure do |c|
|
46
|
+
c.configure_rspec_metadata!
|
47
|
+
|
48
|
+
c.filter_sensitive_data("<TRELLO_APP_KEY>") do
|
49
|
+
test_trello_app_key
|
50
|
+
end
|
51
|
+
|
52
|
+
c.filter_sensitive_data("<TRELLO_APP_SECRET>") do
|
53
|
+
test_trello_app_secret
|
54
|
+
end
|
55
|
+
|
56
|
+
c.filter_sensitive_data("<TRELLO_APP_TOKEN>") do
|
57
|
+
test_trello_app_token
|
58
|
+
end
|
59
|
+
|
60
|
+
c.filter_sensitive_data("<TRELLO_OAUTH_TOKEN>") do
|
61
|
+
test_trello_oauth_token
|
62
|
+
end
|
63
|
+
|
64
|
+
c.filter_sensitive_data("<TRELLO_OAUTH_SECRET>") do
|
65
|
+
test_trello_oauth_secret
|
66
|
+
end
|
67
|
+
|
68
|
+
c.default_cassette_options = {
|
69
|
+
:serialize_with => :json,
|
70
|
+
:preserve_exact_body_bytes => true,
|
71
|
+
:decode_compressed_response => true,
|
72
|
+
:record => :once
|
73
|
+
}
|
74
|
+
|
75
|
+
c.cassette_library_dir = 'spec/cassettes'
|
76
|
+
c.hook_into :webmock
|
77
|
+
end
|
78
|
+
|
79
|
+
def test_trello_username
|
80
|
+
ENV.fetch 'TRELLO_TEST_USERNAME', 'tacokit'
|
81
|
+
end
|
82
|
+
|
83
|
+
def test_trello_app_key
|
84
|
+
ENV.fetch 'TRELLO_TEST_APP_KEY', 'tacokit-app-key'
|
85
|
+
end
|
86
|
+
|
87
|
+
def test_trello_app_secret
|
88
|
+
ENV.fetch 'TRELLO_TEST_APP_SECRET', 'tacokit-app-secret'
|
89
|
+
end
|
90
|
+
|
91
|
+
def test_trello_app_token
|
92
|
+
ENV.fetch 'TRELLO_TEST_APP_TOKEN', 'tacokit-app-token'
|
93
|
+
end
|
94
|
+
|
95
|
+
def test_trello_oauth_token
|
96
|
+
ENV.fetch 'TRELLO_TEST_OAUTH_TOKEN', 'tacokit-oauth-token'
|
97
|
+
end
|
98
|
+
|
99
|
+
def test_trello_oauth_secret
|
100
|
+
ENV.fetch 'TRELLO_TEST_OAUTH_SECRET', 'tacokit-oauth-secret'
|
101
|
+
end
|
102
|
+
|
103
|
+
def test_org_name
|
104
|
+
ENV.fetch 'TRELLO_TEST_ORGANIZATION', 'teamtacokit'
|
105
|
+
end
|
106
|
+
|
107
|
+
def test_org_id
|
108
|
+
ENV.fetch 'TRELLO_TEST_ORGANIZATION_ID', '548e30e9683e1923f676ba20'
|
109
|
+
end
|
110
|
+
|
111
|
+
def test_client_credentials
|
112
|
+
{
|
113
|
+
app_key: test_trello_app_key,
|
114
|
+
app_token: test_trello_app_token
|
115
|
+
}
|
116
|
+
end
|
117
|
+
|
118
|
+
def test_oauth_credentials
|
119
|
+
{
|
120
|
+
app_key: test_trello_app_key,
|
121
|
+
oauth_token: test_trello_oauth_token
|
122
|
+
}
|
123
|
+
end
|
124
|
+
|
125
|
+
def app_client
|
126
|
+
Tacokit.client
|
127
|
+
end
|
128
|
+
|
129
|
+
def oauth_client
|
130
|
+
@oauth_client ||= Tacokit::Client.new(test_oauth_credentials)
|
131
|
+
end
|
132
|
+
|
133
|
+
def tacokit_web_endpoint(*segments)
|
134
|
+
File.join(ENV.fetch('TACOKIT_WEB_CLIENT', 'https://tacokit.herokuapp.com'), *segments)
|
135
|
+
end
|
136
|
+
|
137
|
+
def trello_url(url)
|
138
|
+
return url if url =~ /^http/
|
139
|
+
|
140
|
+
url = File.join(Tacokit.api_endpoint, url)
|
141
|
+
uri = Addressable::URI.parse(url)
|
142
|
+
|
143
|
+
uri.to_s
|
144
|
+
end
|
145
|
+
|
146
|
+
def trello_url_template(url)
|
147
|
+
Addressable::Template.new(trello_url(url))
|
148
|
+
end
|
149
|
+
|
150
|
+
def blank?(object)
|
151
|
+
object.respond_to?(:empty?) ? !!object.empty? : !object
|
152
|
+
end
|
153
|
+
|
154
|
+
def present?(object)
|
155
|
+
!blank?(object)
|
156
|
+
end
|
157
|
+
|
158
|
+
RSpec::Matchers.define :be_present do |expected|
|
159
|
+
match do |actual|
|
160
|
+
present?(actual)
|
161
|
+
end
|
162
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'launchy'
|
3
|
+
|
4
|
+
describe Tacokit::Authorization do
|
5
|
+
before do
|
6
|
+
allow(Launchy).to receive(:open)
|
7
|
+
end
|
8
|
+
|
9
|
+
describe "#open_app_key" do
|
10
|
+
it "launches app key endpoint" do
|
11
|
+
expect(Launchy).to receive(:open).with("https://trello.com/1/appKey/generate")
|
12
|
+
|
13
|
+
Tacokit.client.open_app_key
|
14
|
+
end
|
15
|
+
|
16
|
+
it "doesn't require launchy", :silence_warnings do
|
17
|
+
allow(Launchy).to receive(:open).and_raise(LoadError)
|
18
|
+
|
19
|
+
Tacokit.client.open_app_key
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
describe "#authorize" do
|
24
|
+
it "launches authorize endpoint" do
|
25
|
+
authorize_url = "https://trello.com/1/authorize?key=#{test_trello_app_key}&name=Tacokit&response_type=token"
|
26
|
+
expect(Launchy).to receive(:open).with(authorize_url)
|
27
|
+
|
28
|
+
Tacokit.client.authorize
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
describe "#authorize_url" do
|
33
|
+
it "returns the url to authorize user via web flow" do
|
34
|
+
uri = Addressable::URI.parse Tacokit.authorize_url(
|
35
|
+
app_name: "Tacokit", key: test_trello_app_key, scope: "read")
|
36
|
+
|
37
|
+
expect(uri.scheme).to eq 'https'
|
38
|
+
expect(uri.host).to eq 'trello.com'
|
39
|
+
|
40
|
+
params = uri.query_values
|
41
|
+
expect(params['key']).to eq test_trello_app_key
|
42
|
+
expect(params['app_name']).to eq 'Tacokit'
|
43
|
+
expect(params['response_type']).to eq 'token'
|
44
|
+
expect(params['scope']).to eq 'read'
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,100 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Tacokit::Client::Actions do
|
4
|
+
def test_action_id
|
5
|
+
'548e3153ea7ca8f9cd3cb77b'
|
6
|
+
end
|
7
|
+
|
8
|
+
def test_card_id
|
9
|
+
'548dd95c8ca25ac9d0d9ce71'
|
10
|
+
end
|
11
|
+
|
12
|
+
describe "#action", :vcr do
|
13
|
+
it "returns a token authorized action" do
|
14
|
+
action = app_client.action(test_action_id)
|
15
|
+
|
16
|
+
expect(action.type).to be_present
|
17
|
+
expect(action.data).to be_any
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'returns oauth authorized board' do
|
21
|
+
action = oauth_client.action(test_action_id)
|
22
|
+
|
23
|
+
expect(action.type).to be_present
|
24
|
+
expect(action.data).to be_any
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
describe "#action_field", :vcr do
|
29
|
+
it "returns a value" do
|
30
|
+
field = app_client.action_field(test_action_id, :type)
|
31
|
+
|
32
|
+
expect(field['_value']).to be_present
|
33
|
+
end
|
34
|
+
|
35
|
+
it "returns a resource" do
|
36
|
+
field = app_client.action_field(test_action_id, :data)
|
37
|
+
|
38
|
+
expect(field).to be_a(Tacokit::Resource)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe "#action_resource", :vcr do
|
43
|
+
it "returns action entities" do
|
44
|
+
entities = app_client.action_resource(test_action_id, :entities)
|
45
|
+
|
46
|
+
expect(entities).to be_any
|
47
|
+
end
|
48
|
+
|
49
|
+
it "returns action board" do
|
50
|
+
board = app_client.action_resource(test_action_id, :board)
|
51
|
+
|
52
|
+
expect(board.name).to be_present
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
describe "#update_action", :vcr do
|
57
|
+
before do
|
58
|
+
@action = app_client.post "cards/#{test_card_id}/actions/comments", text: "Update action test. Booya!"
|
59
|
+
end
|
60
|
+
|
61
|
+
it "updates an action" do
|
62
|
+
action = app_client.update_action(@action.id, text: "@tacokit Thanks for the invite, bud")
|
63
|
+
|
64
|
+
expect(action.data.text).to eq "@tacokit Thanks for the invite, bud"
|
65
|
+
end
|
66
|
+
|
67
|
+
after do
|
68
|
+
app_client.delete_action(@action.id)
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
describe "#update_action_text", :vcr do
|
73
|
+
before do
|
74
|
+
@action = app_client.post "cards/#{test_card_id}/actions/comments", text: "Update action test. Booya!"
|
75
|
+
end
|
76
|
+
|
77
|
+
it "updates an action" do
|
78
|
+
action = app_client.update_action_text(@action.id, "@tacokit Thanks for the invite, bud")
|
79
|
+
|
80
|
+
expect(action.data.text).to eq "@tacokit Thanks for the invite, bud"
|
81
|
+
end
|
82
|
+
|
83
|
+
after do
|
84
|
+
app_client.delete_action(@action.id)
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe "#delete_action", :vcr do
|
89
|
+
before do
|
90
|
+
@action = app_client.post "cards/#{test_card_id}/actions/comments", text: "Delete action test. Booya!"
|
91
|
+
end
|
92
|
+
|
93
|
+
it "deletes an action" do
|
94
|
+
app_client.delete_action(@action.id)
|
95
|
+
|
96
|
+
assert_requested :delete, trello_url_template("actions/#{@action.id}{?key,token}")
|
97
|
+
expect { app_client.action(@action.id) }.to raise_error(Tacokit::Error::ResourceNotFound)
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|