teamsnap_rb 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/teamsnap/version.rb +1 -1
- data/lib/teamsnap.rb +64 -46
- data/spec/cassettes/apiv3-init.yml +1358 -1229
- data/spec/cassettes/teamsnap_rb/adds_find_if_search_is_available.yml +19 -21
- data/spec/cassettes/teamsnap_rb/adds_href_to_items.yml +8 -8
- data/spec/cassettes/teamsnap_rb/can_follow_plural_links.yml +44 -55
- data/spec/cassettes/teamsnap_rb/can_follow_singular_links.yml +37 -41
- data/spec/cassettes/teamsnap_rb/can_handle_an_empty_bulk_load.yml +14 -22
- data/spec/cassettes/teamsnap_rb/can_handle_an_error_with_bulk_load.yml +12 -14
- data/spec/cassettes/teamsnap_rb/can_handle_errors_generated_by_command.yml +14 -16
- data/spec/cassettes/teamsnap_rb/can_handle_links_with_no_data.yml +29 -45
- data/spec/cassettes/teamsnap_rb/can_use_bulk_load.yml +28 -31
- data/spec/cassettes/teamsnap_rb/handles_executing_an_action_via_commands.yml +18 -26
- data/spec/cassettes/teamsnap_rb/handles_executing_an_action_via_commands_with_multiple_params.yml +2918 -0
- data/spec/cassettes/teamsnap_rb/handles_fetching_data_via_queries.yml +18 -26
- data/spec/cassettes/teamsnap_rb/handles_queries_with_no_data.yml +15 -23
- data/spec/cassettes/teamsnap_rb/raises_an_exception_if_find_returns_nothing.yml +15 -23
- data/spec/cassettes/teamsnap_rb/supports_relations_with_expected_behaviors/when_a_plural_relation_is_called/responds_with_an_array_of_objects_when_successful.yml +28 -40
- data/spec/cassettes/teamsnap_rb/supports_relations_with_expected_behaviors/when_a_plural_relation_is_called/responds_with_an_empty_array_when_no_objects_exist.yml +22 -34
- data/spec/cassettes/teamsnap_rb/supports_relations_with_expected_behaviors/when_a_singular_relation_is_called/responds_with_nil_if_it_does_NOT_exist.yml +22 -34
- data/spec/cassettes/teamsnap_rb/supports_relations_with_expected_behaviors/when_a_singular_relation_is_called/responds_with_the_object_if_it_exists.yml +25 -37
- data/spec/spec_helper.rb +10 -0
- data/spec/teamsnap_spec.rb +72 -9
- metadata +4 -2
@@ -2,56 +2,48 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:3000/teams/search?id=1
|
5
|
+
uri: http://localhost:3000/teams/search?id=1&hmac_client_id=classic&hmac_nonce=9b484e36-6443-4d89-ad8b-b729d1c88d12&hmac_timestamp=1432825402
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- Faraday v0.9.1
|
12
|
-
|
13
|
-
-
|
12
|
+
X-Teamsnap-Hmac:
|
13
|
+
- e80562d84bbe27e609f94a14d6e2396810d17ec605307df7a866ac8dd7d2784a
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 200
|
17
|
-
message:
|
17
|
+
message: OK
|
18
18
|
headers:
|
19
19
|
Content-Type:
|
20
20
|
- application/vnd.collection+json
|
21
21
|
Content-Length:
|
22
|
-
- '
|
22
|
+
- '10789'
|
23
23
|
X-Content-Type-Options:
|
24
24
|
- nosniff
|
25
|
-
|
26
|
-
- '
|
27
|
-
X-Ratelimit-Remaining:
|
28
|
-
- '4874'
|
29
|
-
X-Ratelimit-Reset:
|
30
|
-
- '1428521597'
|
31
|
-
Etag:
|
32
|
-
- '"0d6984467c9da6b9f39c540a70241361"'
|
25
|
+
ETag:
|
26
|
+
- '"7df11f1294ce141ff9156c1924bd46c0"'
|
33
27
|
Cache-Control:
|
34
28
|
- max-age=0, private, must-revalidate
|
35
29
|
X-Request-Id:
|
36
|
-
-
|
30
|
+
- 731da45f-f571-49aa-b69a-d00edab05678
|
37
31
|
X-Runtime:
|
38
|
-
- '0.
|
39
|
-
Server:
|
40
|
-
- WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
|
41
|
-
Date:
|
42
|
-
- Wed, 08 Apr 2015 19:24:24 GMT
|
32
|
+
- '0.039638'
|
43
33
|
Connection:
|
44
|
-
-
|
34
|
+
- keep-alive
|
35
|
+
Server:
|
36
|
+
- thin
|
45
37
|
body:
|
46
38
|
encoding: UTF-8
|
47
|
-
string: '{"collection":{"version":"3.
|
39
|
+
string: '{"collection":{"version":"3.72.0","href":"http://localhost:3000/teams","template":{"data":[{"name":"name","value":null},{"name":"location_country","value":null},{"name":"location_postal_code","value":null},{"name":"time_zone","value":null},{"name":"sport_id","value":null},{"name":"division_name","value":null},{"name":"season_name","value":null},{"name":"league_name","value":null},{"name":"league_url","value":null}]},"links":[{"rel":"active_season_team","href":"http://localhost:3000/teams"},{"rel":"assignments","href":"http://localhost:3000/assignments"},{"rel":"availabilities","href":"http://localhost:3000/availabilities"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails"},{"rel":"broadcast_smses","href":"http://localhost:3000/broadcast_smses"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3000/contacts"},{"rel":"custom_data","href":"http://localhost:3000/custom_data"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields"},{"rel":"division_locations","href":"http://localhost:3000/division_locations"},{"rel":"division_members","href":"http://localhost:3000/division_members"},{"rel":"division_members_preferences","href":"http://localhost:3000/division_members_preferences"},{"rel":"events","href":"http://localhost:3000/events"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents"},{"rel":"locations","href":"http://localhost:3000/locations"},{"rel":"managers","href":"http://localhost:3000/members"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses"},{"rel":"member_files","href":"http://localhost:3000/member_files"},{"rel":"member_links","href":"http://localhost:3000/member_links"},{"rel":"member_payments","href":"http://localhost:3000/member_payments"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers"},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"opponents","href":"http://localhost:3000/opponents"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results"},{"rel":"owner","href":"http://localhost:3000/members"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes"},{"rel":"paypal_currency","href":"http://localhost:3000/paypal_currencies"},{"rel":"plan","href":"http://localhost:3000/plans"},{"rel":"sponsors","href":"http://localhost:3000/sponsors"},{"rel":"sport","href":"http://localhost:3000/sports"},{"rel":"statistic","href":"http://localhost:3000/statistics"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data"},{"rel":"statistic_group","href":"http://localhost:3000/statistic_groups"},{"rel":"team_fees","href":"http://localhost:3000/team_fees"},{"rel":"team_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences"},{"rel":"team_preferences","href":"http://localhost:3000/teams_preferences"},{"rel":"team_public_site","href":"http://localhost:3000/team_public_sites"},{"rel":"team_results","href":"http://localhost:3000/teams_results"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/teams/search?id=1"}],"queries":[{"rel":"search","href":"http://localhost:3000/teams/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null},{"name":"division_id","value":null}]}],"commands":[{"rel":"invite","href":"http://localhost:3000/teams/invite","prompt":"invite
|
48
40
|
team members or contacts to join TeamSnap.","data":[{"name":"team_id","value":null},{"name":"contact_id","value":null},{"name":"member_id","value":null},{"name":"introduction","value":null},{"name":"notify_as_member_id","value":null}]},{"rel":"update_time_zone","href":"http://localhost:3000/teams/update_time_zone","prompt":"Update
|
49
|
-
team''s time zone.","data":[{"name":"team_id","value":null},{"name":"time_zone","value":null},{"name":"offset_team_times","value":null}]}],"items":[{"href":"http://localhost:3000/teams/1","data":[{"name":"id","value":1},{"name":"type","value":"team"},{"name":"division_name","value":null},{"name":"is_archived_season","value":false},{"name":"league_name","value":null},{"name":"league_url","value":null},{"name":"
|
50
|
-
States"},{"name":"location_postal_code","value":"80951"},{"name":"location_latitude","value":
|
41
|
+
team''s time zone.","data":[{"name":"team_id","value":null},{"name":"time_zone","value":null},{"name":"offset_team_times","value":null}]}],"items":[{"href":"http://localhost:3000/teams/1","data":[{"name":"id","value":1},{"name":"type","value":"team"},{"name":"division_name","value":null},{"name":"is_archived_season","value":false},{"name":"league_name","value":null},{"name":"league_url","value":null},{"name":"is_in_league","value":false},{"name":"location_country","value":"United
|
42
|
+
States"},{"name":"location_postal_code","value":"80951"},{"name":"location_latitude","value":null},{"name":"location_longitude","value":null},{"name":"name","value":"Base
|
51
43
|
Team"},{"name":"plan_id","value":14},{"name":"season_name","value":null},{"name":"sport_id","value":1},{"name":"time_zone_description","value":"Mountain
|
52
|
-
Time (US & Canada)"},{"name":"time_zone_iana_name","value":"America/Denver"},{"name":"time_zone_offset","value":"-07:00"},{"name":"updated_at","value":"2015-
|
44
|
+
Time (US & Canada)"},{"name":"time_zone_iana_name","value":"America/Denver"},{"name":"time_zone_offset","value":"-07:00"},{"name":"updated_at","value":"2015-05-28T15:02:27Z","type":"DateTime"},{"name":"created_at","value":"2015-05-28T15:02:22Z","type":"DateTime"},{"name":"has_reached_roster_limit","value":false},{"name":"roster_limit","value":30},{"name":"has_exportable_media","value":false}],"links":[{"rel":"assignments","href":"http://localhost:3000/assignments/search?team_id=1"},{"rel":"availabilities","href":"http://localhost:3000/availabilities/search?team_id=1"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails/search?team_id=1"},{"rel":"broadcast_smses","href":"http://localhost:3000/broadcast_smses/search?team_id=1"},{"rel":"calendar_http","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/77be83c0-e778-0132-d6db-000c296a3388.ics"},{"rel":"calendar_http_games_only","href":"http://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/77be83c0-e778-0132-d6db-000c296a3388.ics"},{"rel":"calendar_webcal","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/77be83c0-e778-0132-d6db-000c296a3388.ics"},{"rel":"calendar_webcal_games_only","href":"webcal://86ed2e8eefaaee16c4b7-16391cffaf9272bff70e93998d553c16.r2.cf1.rackcdn.com/team_schedule/filter/games/77be83c0-e778-0132-d6db-000c296a3388.ics"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses/search?team_id=1"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers/search?team_id=1"},{"rel":"contacts","href":"http://localhost:3000/contacts/search?team_id=1"},{"rel":"custom_data","href":"http://localhost:3000/custom_data/search?team_id=1"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields/search?team_id=1"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data/search?team_id=1"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields/search?team_id=1"},{"rel":"division_locations","href":"http://localhost:3000/division_locations/search?team_id=1"},{"rel":"division_members","href":"http://localhost:3000/division_members/search?team_id=1"},{"rel":"division_members_preferences","href":"http://localhost:3000/division_members_preferences/search?team_id=1"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts/search?team_id=1"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions/search?team_id=1"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics/search?team_id=1"},{"rel":"events","href":"http://localhost:3000/events/search?team_id=1"},{"rel":"events_csv_export","href":"http://localhost:3000/exports/events_csv?hs=YszGJFFtdkxT%252Ba08BS5xyp1dHMOjVVvQPmlGdCebDpafs9qC6iM2Wgap55%252FDtoxV"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents/search?member_id=1"},{"rel":"locations","href":"http://localhost:3000/locations/search?team_id=1"},{"rel":"managers","href":"http://localhost:3000/members/managers?team_id=1"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses/search?team_id=1"},{"rel":"member_files","href":"http://localhost:3000/member_files/search?team_id=1"},{"rel":"member_links","href":"http://localhost:3000/member_links/search?team_id=1"},{"rel":"member_payments","href":"http://localhost:3000/member_payments/search?team_id=1"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers/search?team_id=1"},{"rel":"members","href":"http://localhost:3000/members/search?team_id=1"},{"rel":"members_csv_export","href":"http://localhost:3000/exports/members_csv?hs=YszGJFFtdkxT%252Ba08BS5xyp1dHMOjVVvQPmlGdCebDpafs9qC6iM2Wgap55%252FDtoxV"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences/search?team_id=1"},{"rel":"opponents","href":"http://localhost:3000/opponents/search?team_id=1"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results/search?team_id=1"},{"rel":"owner","href":"http://localhost:3000/members/owner?team_id=1"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes/search?team_id=1"},{"rel":"paypal_currency","href":"http://localhost:3000/paypal_currencies/search?team_id=1"},{"rel":"plan","href":"http://localhost:3000/plans/14"},{"rel":"sponsors","href":"http://localhost:3000/sponsors/search?team_id=1"},{"rel":"sport","href":"http://localhost:3000/sports/1"},{"rel":"statistics","href":"http://localhost:3000/statistics/search?team_id=1"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data/search?team_id=1"},{"rel":"statistic_groups","href":"http://localhost:3000/statistic_groups/search?team_id=1"},{"rel":"team_fees","href":"http://localhost:3000/team_fees/search?team_id=1"},{"rel":"team_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences/1"},{"rel":"team_preferences","href":"http://localhost:3000/teams_preferences/1"},{"rel":"team_public_site","href":"http://localhost:3000/team_public_sites/1"},{"rel":"team_results","href":"http://localhost:3000/teams_results/1"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses/search?team_id=1"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items/search?team_id=1"}]}]}}'
|
53
45
|
http_version: '1.1'
|
54
46
|
adapter_metadata:
|
55
|
-
effective_url: http://localhost:3000/teams/search?id=1
|
56
|
-
recorded_at:
|
47
|
+
effective_url: http://localhost:3000/teams/search?id=1&hmac_client_id=classic&hmac_nonce=9b484e36-6443-4d89-ad8b-b729d1c88d12&hmac_timestamp=1432825402
|
48
|
+
recorded_at: Thu, 28 May 2015 15:03:22 GMT
|
57
49
|
recorded_with: VCR 2.9.3
|
@@ -2,53 +2,45 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:3000/teams/search?id=0
|
5
|
+
uri: http://localhost:3000/teams/search?id=0&hmac_client_id=classic&hmac_nonce=c56728bb-ca1e-41f5-9fb8-332f54d543fa&hmac_timestamp=1432825402
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- Faraday v0.9.1
|
12
|
-
|
13
|
-
-
|
12
|
+
X-Teamsnap-Hmac:
|
13
|
+
- 7572a7c0891849b8ad18468092a6d113d9a46db352c226804da7cbf30e1a6488
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 200
|
17
|
-
message:
|
17
|
+
message: OK
|
18
18
|
headers:
|
19
19
|
Content-Type:
|
20
20
|
- application/vnd.collection+json
|
21
21
|
Content-Length:
|
22
|
-
- '
|
22
|
+
- '4676'
|
23
23
|
X-Content-Type-Options:
|
24
24
|
- nosniff
|
25
|
-
|
26
|
-
- '
|
27
|
-
X-Ratelimit-Remaining:
|
28
|
-
- '4871'
|
29
|
-
X-Ratelimit-Reset:
|
30
|
-
- '1428521598'
|
31
|
-
Etag:
|
32
|
-
- '"eb390cbb89f40a9202afd7ea8755a381"'
|
25
|
+
ETag:
|
26
|
+
- '"d5e61d56c0639e2fac6725c63af2a235"'
|
33
27
|
Cache-Control:
|
34
28
|
- max-age=0, private, must-revalidate
|
35
29
|
X-Request-Id:
|
36
|
-
-
|
30
|
+
- 4cd30379-f975-4a62-83af-76cad45c0753
|
37
31
|
X-Runtime:
|
38
|
-
- '0.
|
39
|
-
Server:
|
40
|
-
- WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
|
41
|
-
Date:
|
42
|
-
- Wed, 08 Apr 2015 19:24:25 GMT
|
32
|
+
- '0.014482'
|
43
33
|
Connection:
|
44
|
-
-
|
34
|
+
- keep-alive
|
35
|
+
Server:
|
36
|
+
- thin
|
45
37
|
body:
|
46
38
|
encoding: UTF-8
|
47
|
-
string: '{"collection":{"version":"3.
|
39
|
+
string: '{"collection":{"version":"3.72.0","href":"http://localhost:3000/teams","template":{"data":[{"name":"name","value":null},{"name":"location_country","value":null},{"name":"location_postal_code","value":null},{"name":"time_zone","value":null},{"name":"sport_id","value":null},{"name":"division_name","value":null},{"name":"season_name","value":null},{"name":"league_name","value":null},{"name":"league_url","value":null}]},"links":[{"rel":"active_season_team","href":"http://localhost:3000/teams"},{"rel":"assignments","href":"http://localhost:3000/assignments"},{"rel":"availabilities","href":"http://localhost:3000/availabilities"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails"},{"rel":"broadcast_smses","href":"http://localhost:3000/broadcast_smses"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3000/contacts"},{"rel":"custom_data","href":"http://localhost:3000/custom_data"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields"},{"rel":"division_locations","href":"http://localhost:3000/division_locations"},{"rel":"division_members","href":"http://localhost:3000/division_members"},{"rel":"division_members_preferences","href":"http://localhost:3000/division_members_preferences"},{"rel":"events","href":"http://localhost:3000/events"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents"},{"rel":"locations","href":"http://localhost:3000/locations"},{"rel":"managers","href":"http://localhost:3000/members"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses"},{"rel":"member_files","href":"http://localhost:3000/member_files"},{"rel":"member_links","href":"http://localhost:3000/member_links"},{"rel":"member_payments","href":"http://localhost:3000/member_payments"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers"},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"opponents","href":"http://localhost:3000/opponents"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results"},{"rel":"owner","href":"http://localhost:3000/members"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes"},{"rel":"paypal_currency","href":"http://localhost:3000/paypal_currencies"},{"rel":"plan","href":"http://localhost:3000/plans"},{"rel":"sponsors","href":"http://localhost:3000/sponsors"},{"rel":"sport","href":"http://localhost:3000/sports"},{"rel":"statistic","href":"http://localhost:3000/statistics"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data"},{"rel":"statistic_group","href":"http://localhost:3000/statistic_groups"},{"rel":"team_fees","href":"http://localhost:3000/team_fees"},{"rel":"team_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences"},{"rel":"team_preferences","href":"http://localhost:3000/teams_preferences"},{"rel":"team_public_site","href":"http://localhost:3000/team_public_sites"},{"rel":"team_results","href":"http://localhost:3000/teams_results"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/teams/search?id=0"}],"queries":[{"rel":"search","href":"http://localhost:3000/teams/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null},{"name":"division_id","value":null}]}],"commands":[{"rel":"invite","href":"http://localhost:3000/teams/invite","prompt":"invite
|
48
40
|
team members or contacts to join TeamSnap.","data":[{"name":"team_id","value":null},{"name":"contact_id","value":null},{"name":"member_id","value":null},{"name":"introduction","value":null},{"name":"notify_as_member_id","value":null}]},{"rel":"update_time_zone","href":"http://localhost:3000/teams/update_time_zone","prompt":"Update
|
49
41
|
team''s time zone.","data":[{"name":"team_id","value":null},{"name":"time_zone","value":null},{"name":"offset_team_times","value":null}]}]}}'
|
50
42
|
http_version: '1.1'
|
51
43
|
adapter_metadata:
|
52
|
-
effective_url: http://localhost:3000/teams/search?id=0
|
53
|
-
recorded_at:
|
44
|
+
effective_url: http://localhost:3000/teams/search?id=0&hmac_client_id=classic&hmac_nonce=c56728bb-ca1e-41f5-9fb8-332f54d543fa&hmac_timestamp=1432825402
|
45
|
+
recorded_at: Thu, 28 May 2015 15:03:22 GMT
|
54
46
|
recorded_with: VCR 2.9.3
|
@@ -2,53 +2,45 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:3000/teams/search?id=0
|
5
|
+
uri: http://localhost:3000/teams/search?id=0&hmac_client_id=classic&hmac_nonce=6558d354-4a4b-4cf7-be2d-f86cbf94509a&hmac_timestamp=1432825401
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- Faraday v0.9.1
|
12
|
-
|
13
|
-
-
|
12
|
+
X-Teamsnap-Hmac:
|
13
|
+
- 99b38ed301645898d81a604478a908c7bb17f3dc8fd34d4ba3a0d03f27acc576
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 200
|
17
|
-
message:
|
17
|
+
message: OK
|
18
18
|
headers:
|
19
19
|
Content-Type:
|
20
20
|
- application/vnd.collection+json
|
21
21
|
Content-Length:
|
22
|
-
- '
|
22
|
+
- '4676'
|
23
23
|
X-Content-Type-Options:
|
24
24
|
- nosniff
|
25
|
-
|
26
|
-
- '
|
27
|
-
X-Ratelimit-Remaining:
|
28
|
-
- '4866'
|
29
|
-
X-Ratelimit-Reset:
|
30
|
-
- '1428521598'
|
31
|
-
Etag:
|
32
|
-
- '"eb390cbb89f40a9202afd7ea8755a381"'
|
25
|
+
ETag:
|
26
|
+
- '"d5e61d56c0639e2fac6725c63af2a235"'
|
33
27
|
Cache-Control:
|
34
28
|
- max-age=0, private, must-revalidate
|
35
29
|
X-Request-Id:
|
36
|
-
-
|
30
|
+
- cfd85e1b-a992-48af-98a3-deffe99970ab
|
37
31
|
X-Runtime:
|
38
|
-
- '0.
|
39
|
-
Server:
|
40
|
-
- WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
|
41
|
-
Date:
|
42
|
-
- Wed, 08 Apr 2015 19:24:25 GMT
|
32
|
+
- '0.018671'
|
43
33
|
Connection:
|
44
|
-
-
|
34
|
+
- keep-alive
|
35
|
+
Server:
|
36
|
+
- thin
|
45
37
|
body:
|
46
38
|
encoding: UTF-8
|
47
|
-
string: '{"collection":{"version":"3.
|
39
|
+
string: '{"collection":{"version":"3.72.0","href":"http://localhost:3000/teams","template":{"data":[{"name":"name","value":null},{"name":"location_country","value":null},{"name":"location_postal_code","value":null},{"name":"time_zone","value":null},{"name":"sport_id","value":null},{"name":"division_name","value":null},{"name":"season_name","value":null},{"name":"league_name","value":null},{"name":"league_url","value":null}]},"links":[{"rel":"active_season_team","href":"http://localhost:3000/teams"},{"rel":"assignments","href":"http://localhost:3000/assignments"},{"rel":"availabilities","href":"http://localhost:3000/availabilities"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails"},{"rel":"broadcast_smses","href":"http://localhost:3000/broadcast_smses"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers"},{"rel":"contacts","href":"http://localhost:3000/contacts"},{"rel":"custom_data","href":"http://localhost:3000/custom_data"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields"},{"rel":"division_locations","href":"http://localhost:3000/division_locations"},{"rel":"division_members","href":"http://localhost:3000/division_members"},{"rel":"division_members_preferences","href":"http://localhost:3000/division_members_preferences"},{"rel":"events","href":"http://localhost:3000/events"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents"},{"rel":"locations","href":"http://localhost:3000/locations"},{"rel":"managers","href":"http://localhost:3000/members"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses"},{"rel":"member_files","href":"http://localhost:3000/member_files"},{"rel":"member_links","href":"http://localhost:3000/member_links"},{"rel":"member_payments","href":"http://localhost:3000/member_payments"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers"},{"rel":"members","href":"http://localhost:3000/members"},{"rel":"members_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"opponents","href":"http://localhost:3000/opponents"},{"rel":"opponents_results","href":"http://localhost:3000/opponents_results"},{"rel":"owner","href":"http://localhost:3000/members"},{"rel":"payment_notes","href":"http://localhost:3000/payment_notes"},{"rel":"paypal_currency","href":"http://localhost:3000/paypal_currencies"},{"rel":"plan","href":"http://localhost:3000/plans"},{"rel":"sponsors","href":"http://localhost:3000/sponsors"},{"rel":"sport","href":"http://localhost:3000/sports"},{"rel":"statistic","href":"http://localhost:3000/statistics"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data"},{"rel":"statistic_group","href":"http://localhost:3000/statistic_groups"},{"rel":"team_fees","href":"http://localhost:3000/team_fees"},{"rel":"team_paypal_preferences","href":"http://localhost:3000/teams_paypal_preferences"},{"rel":"team_preferences","href":"http://localhost:3000/teams_preferences"},{"rel":"team_public_site","href":"http://localhost:3000/team_public_sites"},{"rel":"team_results","href":"http://localhost:3000/teams_results"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"tracked_items","href":"http://localhost:3000/tracked_items"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/teams/search?id=0"}],"queries":[{"rel":"search","href":"http://localhost:3000/teams/search","data":[{"name":"id","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null},{"name":"division_id","value":null}]}],"commands":[{"rel":"invite","href":"http://localhost:3000/teams/invite","prompt":"invite
|
48
40
|
team members or contacts to join TeamSnap.","data":[{"name":"team_id","value":null},{"name":"contact_id","value":null},{"name":"member_id","value":null},{"name":"introduction","value":null},{"name":"notify_as_member_id","value":null}]},{"rel":"update_time_zone","href":"http://localhost:3000/teams/update_time_zone","prompt":"Update
|
49
41
|
team''s time zone.","data":[{"name":"team_id","value":null},{"name":"time_zone","value":null},{"name":"offset_team_times","value":null}]}]}}'
|
50
42
|
http_version: '1.1'
|
51
43
|
adapter_metadata:
|
52
|
-
effective_url: http://localhost:3000/teams/search?id=0
|
53
|
-
recorded_at:
|
44
|
+
effective_url: http://localhost:3000/teams/search?id=0&hmac_client_id=classic&hmac_nonce=6558d354-4a4b-4cf7-be2d-f86cbf94509a&hmac_timestamp=1432825401
|
45
|
+
recorded_at: Thu, 28 May 2015 15:03:21 GMT
|
54
46
|
recorded_with: VCR 2.9.3
|
@@ -19,43 +19,37 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- application/vnd.collection+json
|
21
21
|
Content-Length:
|
22
|
-
- '
|
23
|
-
Connection:
|
24
|
-
- keep-alive
|
25
|
-
Status:
|
26
|
-
- 200 OK
|
22
|
+
- '4993'
|
27
23
|
X-Content-Type-Options:
|
28
24
|
- nosniff
|
29
25
|
X-RateLimit-Limit:
|
30
26
|
- '5000'
|
31
27
|
X-RateLimit-Remaining:
|
32
|
-
- '
|
28
|
+
- '4869'
|
33
29
|
X-RateLimit-Reset:
|
34
|
-
- '
|
30
|
+
- '1432828850'
|
35
31
|
ETag:
|
36
|
-
- '"
|
32
|
+
- '"aacd8fb2517e31f6d3baafe13ad189cb"'
|
37
33
|
Cache-Control:
|
38
34
|
- max-age=0, private, must-revalidate
|
39
35
|
X-Request-Id:
|
40
|
-
-
|
36
|
+
- f89e7bd4-f378-4be3-a7a1-85e1ca1a54d1
|
41
37
|
X-Runtime:
|
42
|
-
- '0.
|
43
|
-
|
44
|
-
-
|
45
|
-
Date:
|
46
|
-
- Wed, 06 May 2015 22:18:28 GMT
|
38
|
+
- '0.050686'
|
39
|
+
Connection:
|
40
|
+
- keep-alive
|
47
41
|
Server:
|
48
|
-
-
|
42
|
+
- thin
|
49
43
|
body:
|
50
44
|
encoding: UTF-8
|
51
|
-
string: '{"collection":{"version":"3.
|
45
|
+
string: '{"collection":{"version":"3.72.0","href":"http://localhost:3000/events","template":{"data":[{"name":"repeating_type_code","value":null},{"name":"is_game","value":null},{"name":"start_date","value":null},{"name":"is_tbd","value":null},{"name":"name","value":null},{"name":"label","value":null},{"name":"game_type_code","value":null},{"name":"icon_color","value":null},{"name":"minutes_to_arrive_early","value":null},{"name":"duration_in_minutes","value":null},{"name":"notes","value":null},{"name":"points_for_team","value":null},{"name":"points_for_opponent","value":null},{"name":"shootout_points_for_team","value":null},{"name":"shootout_points_for_opponent","value":null},{"name":"is_overtime","value":null},{"name":"is_shootout","value":null},{"name":"doesnt_count_towards_record","value":null},{"name":"results","value":null},{"name":"results_url","value":null},{"name":"tracks_availability","value":null},{"name":"uniform","value":null},{"name":"is_canceled","value":null},{"name":"notify_team","value":null},{"name":"notify_team_as_member_id","value":null},{"name":"notify_opponent","value":null},{"name":"notify_opponent_contacts_name","value":null},{"name":"notify_opponent_contacts_email","value":null},{"name":"notify_opponent_notes","value":null},{"name":"team_id","value":null},{"name":"division_location_id","value":null},{"name":"location_id","value":null},{"name":"opponent_id","value":null},{"name":"repeating_until","value":null},{"name":"repeating_include","value":null}]},"links":[{"rel":"assignments","href":"http://localhost:3000/assignments"},{"rel":"availabilities","href":"http://localhost:3000/availabilities"},{"rel":"division_location","href":"http://localhost:3000/division_locations"},{"rel":"location","href":"http://localhost:3000/locations"},{"rel":"opponent","href":"http://localhost:3000/opponents"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/events/search?id=1"}],"queries":[{"rel":"search","href":"http://localhost:3000/events/search","data":[{"name":"team_id","value":null},{"name":"location_id","value":null},{"name":"opponent_id","value":null},{"name":"started_after","value":null},{"name":"started_before","value":null},{"name":"id","value":null}]},{"rel":"search_games","href":"http://localhost:3000/events/search_games","data":[{"name":"team_id","value":null}]}],"commands":[{"rel":"send_availability_reminders","href":"http://localhost:3000/events/send_availability_reminders","prompt":"members_to_notify
|
52
46
|
= (all|unset)","data":[{"name":"id","value":null},{"name":"members_to_notify","value":null},{"name":"notify_team_as_member_id","value":null}]}],"items":[{"href":"http://localhost:3000/events/1","data":[{"name":"id","value":1},{"name":"type","value":"event"},{"name":"arrival_date","value":"2015-01-01T00:00:00Z","type":"DateTime"},{"name":"division_location_id","value":null},{"name":"doesnt_count_towards_record","value":false},{"name":"duration_in_minutes","value":120},{"name":"end_date","value":"2015-01-01T02:00:00Z","type":"DateTime"},{"name":"formatted_results","value":null},{"name":"game_type","value":"Not
|
53
47
|
Specified"},{"name":"game_type_code","value":null},{"name":"icon_color","value":"blue"},{"name":"is_canceled","value":false},{"name":"is_game","value":false},{"name":"is_overtime","value":false},{"name":"is_shootout","value":false},{"name":"is_tbd","value":false},{"name":"label","value":null},{"name":"location_id","value":1},{"name":"minutes_to_arrive_early","value":null},{"name":"name","value":"March
|
54
|
-
Madness Game 1"},{"name":"notes","value":null},{"name":"opponent_id","value":1},{"name":"points_for_opponent","value":null},{"name":"points_for_team","value":null},{"name":"repeating_type","value":null},{"name":"repeating_type_code","value":null},{"name":"repeating_uuid","value":null},{"name":"results","value":null},{"name":"results_url","value":null},{"name":"shootout_points_for_opponent","value":null},{"name":"shootout_points_for_team","value":null},{"name":"start_date","value":"2015-01-01T00:00:00Z","type":"DateTime"},{"name":"team_id","value":1},{"name":"tracks_availability","value":true},{"name":"uniform","value":null},{"name":"is_league_controlled","value":false},{"name":"created_at","value":"2015-05-
|
48
|
+
Madness Game 1"},{"name":"notes","value":null},{"name":"opponent_id","value":1},{"name":"points_for_opponent","value":null},{"name":"points_for_team","value":null},{"name":"repeating_type","value":null},{"name":"repeating_type_code","value":null},{"name":"repeating_uuid","value":null},{"name":"results","value":null},{"name":"results_url","value":null},{"name":"shootout_points_for_opponent","value":null},{"name":"shootout_points_for_team","value":null},{"name":"start_date","value":"2015-01-01T00:00:00Z","type":"DateTime"},{"name":"team_id","value":1},{"name":"tracks_availability","value":true},{"name":"uniform","value":null},{"name":"is_league_controlled","value":false},{"name":"created_at","value":"2015-05-28T15:02:24Z","type":"DateTime"},{"name":"updated_at","value":"2015-05-28T15:02:26Z","type":"DateTime"}],"links":[{"rel":"assignments","href":"http://localhost:3000/assignments/search?event_id=1"},{"rel":"availabilities","href":"http://localhost:3000/availabilities/search?event_id=1"},{"rel":"division_location","href":"http://localhost:3000/division_locations/"},{"rel":"location","href":"http://localhost:3000/locations/1"},{"rel":"opponent","href":"http://localhost:3000/opponents/1"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data/search?event_id=1"},{"rel":"team","href":"http://localhost:3000/teams/1"}]}]}}'
|
55
49
|
http_version: '1.1'
|
56
50
|
adapter_metadata:
|
57
51
|
effective_url: http://localhost:3000/events/search?id=1
|
58
|
-
recorded_at:
|
52
|
+
recorded_at: Thu, 28 May 2015 15:03:24 GMT
|
59
53
|
- request:
|
60
54
|
method: get
|
61
55
|
uri: http://localhost:3000/availabilities/search?event_id=1
|
@@ -75,44 +69,38 @@ http_interactions:
|
|
75
69
|
Content-Type:
|
76
70
|
- application/vnd.collection+json
|
77
71
|
Content-Length:
|
78
|
-
- '
|
79
|
-
Connection:
|
80
|
-
- keep-alive
|
81
|
-
Status:
|
82
|
-
- 200 OK
|
72
|
+
- '12287'
|
83
73
|
X-Content-Type-Options:
|
84
74
|
- nosniff
|
85
75
|
X-RateLimit-Limit:
|
86
76
|
- '5000'
|
87
77
|
X-RateLimit-Remaining:
|
88
|
-
- '
|
78
|
+
- '4868'
|
89
79
|
X-RateLimit-Reset:
|
90
|
-
- '
|
80
|
+
- '1432828850'
|
91
81
|
ETag:
|
92
|
-
- '"
|
82
|
+
- '"865d5a3dd8aca4b2a56542fce5580e33"'
|
93
83
|
Cache-Control:
|
94
84
|
- max-age=0, private, must-revalidate
|
95
85
|
X-Request-Id:
|
96
|
-
-
|
86
|
+
- 0a56606c-fa8e-4c17-a633-6dfb1ca70585
|
97
87
|
X-Runtime:
|
98
|
-
- '0.
|
99
|
-
|
100
|
-
-
|
101
|
-
Date:
|
102
|
-
- Wed, 06 May 2015 22:18:28 GMT
|
88
|
+
- '0.085779'
|
89
|
+
Connection:
|
90
|
+
- keep-alive
|
103
91
|
Server:
|
104
|
-
-
|
92
|
+
- thin
|
105
93
|
body:
|
106
94
|
encoding: UTF-8
|
107
|
-
string: '{"collection":{"version":"3.
|
95
|
+
string: '{"collection":{"version":"3.72.0","href":"http://localhost:3000/availabilities","template":{"data":[{"name":"status_code","value":null},{"name":"notes","value":null},{"name":"event_id","value":null},{"name":"member_id","value":null},{"name":"notes_author_member_id","value":null}]},"links":[{"rel":"event","href":"http://localhost:3000/events"},{"rel":"member","href":"http://localhost:3000/members"},{"rel":"notes_author_member","href":"http://localhost:3000/members"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/availabilities/search?event_id=1"}],"queries":[{"rel":"search","href":"http://localhost:3000/availabilities/search","data":[{"name":"team_id","value":null},{"name":"event_id","value":null},{"name":"member_id","value":null},{"name":"started_before","value":null},{"name":"started_after","value":null},{"name":"id","value":null}]}],"commands":[{"rel":"bulk_mark_unset_availabilities","href":"http://localhost:3000/availabilities/bulk_mark_unset_availabilities","prompt":"Mark
|
108
96
|
all future unset availabilities to specified status_code for the specified
|
109
|
-
member_id","data":[{"name":"status_code","value":null},{"name":"member_id","value":null},{"name":"started_after","value":null}]}],"items":[{"href":"http://localhost:3000/availabilities/1","data":[{"name":"id","value":1},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":
|
110
|
-
I will be there."},{"name":"status_code","value":1},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-
|
111
|
-
I will be there."},{"name":"status_code","value":1},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-
|
112
|
-
I''m not sure yet."},{"name":"status_code","value":2},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-
|
113
|
-
I can''t make it."},{"name":"status_code","value":0},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-
|
97
|
+
member_id","data":[{"name":"status_code","value":null},{"name":"member_id","value":null},{"name":"started_after","value":null}]}],"items":[{"href":"http://localhost:3000/availabilities/1","data":[{"name":"id","value":1},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":3},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Yes.
|
98
|
+
I will be there."},{"name":"status_code","value":1},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-28T15:02:25Z","type":"DateTime"},{"name":"updated_at","value":"2015-05-28T15:02:25Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/3"},{"rel":"team","href":"http://localhost:3000/teams/1"}]},{"href":"http://localhost:3000/availabilities/2","data":[{"name":"id","value":2},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":4},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Yes.
|
99
|
+
I will be there."},{"name":"status_code","value":1},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-28T15:02:25Z","type":"DateTime"},{"name":"updated_at","value":"2015-05-28T15:02:25Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/4"},{"rel":"team","href":"http://localhost:3000/teams/1"}]},{"href":"http://localhost:3000/availabilities/4","data":[{"name":"id","value":4},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":7},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Maybe.
|
100
|
+
I''m not sure yet."},{"name":"status_code","value":2},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-28T15:02:25Z","type":"DateTime"},{"name":"updated_at","value":"2015-05-28T15:02:25Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/7"},{"rel":"team","href":"http://localhost:3000/teams/1"}]},{"href":"http://localhost:3000/availabilities/5","data":[{"name":"id","value":5},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":8},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"No.
|
101
|
+
I can''t make it."},{"name":"status_code","value":0},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-28T15:02:26Z","type":"DateTime"},{"name":"updated_at","value":"2015-05-28T15:02:26Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/8"},{"rel":"team","href":"http://localhost:3000/teams/1"}]},{"href":"http://localhost:3000/availabilities/66","data":[{"name":"id","value":66},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":5},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-28T15:03:24Z","type":"DateTime"},{"name":"updated_at","value":"2015-05-28T15:03:24Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/5"},{"rel":"team","href":"http://localhost:3000/teams/1"}]},{"href":"http://localhost:3000/availabilities/67","data":[{"name":"id","value":67},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":6},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-28T15:03:24Z","type":"DateTime"},{"name":"updated_at","value":"2015-05-28T15:03:24Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/6"},{"rel":"team","href":"http://localhost:3000/teams/1"}]},{"href":"http://localhost:3000/availabilities/68","data":[{"name":"id","value":68},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":9},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-28T15:03:24Z","type":"DateTime"},{"name":"updated_at","value":"2015-05-28T15:03:24Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/9"},{"rel":"team","href":"http://localhost:3000/teams/1"}]},{"href":"http://localhost:3000/availabilities/69","data":[{"name":"id","value":69},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":10},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-28T15:03:24Z","type":"DateTime"},{"name":"updated_at","value":"2015-05-28T15:03:24Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/10"},{"rel":"team","href":"http://localhost:3000/teams/1"}]},{"href":"http://localhost:3000/availabilities/70","data":[{"name":"id","value":70},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":11},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-28T15:03:24Z","type":"DateTime"},{"name":"updated_at","value":"2015-05-28T15:03:24Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/11"},{"rel":"team","href":"http://localhost:3000/teams/1"}]},{"href":"http://localhost:3000/availabilities/71","data":[{"name":"id","value":71},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":12},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-28T15:03:24Z","type":"DateTime"},{"name":"updated_at","value":"2015-05-28T15:03:24Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/12"},{"rel":"team","href":"http://localhost:3000/teams/1"}]},{"href":"http://localhost:3000/availabilities/72","data":[{"name":"id","value":72},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":13},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-28T15:03:24Z","type":"DateTime"},{"name":"updated_at","value":"2015-05-28T15:03:24Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/13"},{"rel":"team","href":"http://localhost:3000/teams/1"}]},{"href":"http://localhost:3000/availabilities/73","data":[{"name":"id","value":73},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":14},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-28T15:03:24Z","type":"DateTime"},{"name":"updated_at","value":"2015-05-28T15:03:24Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/14"},{"rel":"team","href":"http://localhost:3000/teams/1"}]},{"href":"http://localhost:3000/availabilities/74","data":[{"name":"id","value":74},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":15},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-28T15:03:24Z","type":"DateTime"},{"name":"updated_at","value":"2015-05-28T15:03:24Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/15"},{"rel":"team","href":"http://localhost:3000/teams/1"}]},{"href":"http://localhost:3000/availabilities/75","data":[{"name":"id","value":75},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":16},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-28T15:03:24Z","type":"DateTime"},{"name":"updated_at","value":"2015-05-28T15:03:24Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/16"},{"rel":"team","href":"http://localhost:3000/teams/1"}]},{"href":"http://localhost:3000/availabilities/76","data":[{"name":"id","value":76},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":17},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-28T15:03:24Z","type":"DateTime"},{"name":"updated_at","value":"2015-05-28T15:03:24Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/17"},{"rel":"team","href":"http://localhost:3000/teams/1"}]},{"href":"http://localhost:3000/availabilities/77","data":[{"name":"id","value":77},{"name":"type","value":"availability"},{"name":"event_id","value":1},{"name":"member_id","value":18},{"name":"notes","value":null},{"name":"notes_author_member_id","value":null},{"name":"status","value":"Unknown"},{"name":"status_code","value":null},{"name":"team_id","value":1},{"name":"created_at","value":"2015-05-28T15:03:24Z","type":"DateTime"},{"name":"updated_at","value":"2015-05-28T15:03:24Z","type":"DateTime"}],"links":[{"rel":"event","href":"http://localhost:3000/events/1"},{"rel":"member","href":"http://localhost:3000/members/18"},{"rel":"team","href":"http://localhost:3000/teams/1"}]}]}}'
|
114
102
|
http_version: '1.1'
|
115
103
|
adapter_metadata:
|
116
104
|
effective_url: http://localhost:3000/availabilities/search?event_id=1
|
117
|
-
recorded_at:
|
105
|
+
recorded_at: Thu, 28 May 2015 15:03:24 GMT
|
118
106
|
recorded_with: VCR 2.9.3
|