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,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:3000/members/search?id=
|
5
|
+
uri: http://localhost:3000/members/search?id=3
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -14,41 +14,39 @@ http_interactions:
|
|
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
|
+
- '7336'
|
23
23
|
X-Content-Type-Options:
|
24
24
|
- nosniff
|
25
|
-
X-
|
25
|
+
X-RateLimit-Limit:
|
26
26
|
- '5000'
|
27
|
-
X-
|
28
|
-
- '
|
29
|
-
X-
|
30
|
-
- '
|
31
|
-
|
32
|
-
- '"
|
27
|
+
X-RateLimit-Remaining:
|
28
|
+
- '4872'
|
29
|
+
X-RateLimit-Reset:
|
30
|
+
- '1432828850'
|
31
|
+
ETag:
|
32
|
+
- '"03a851a5f1d1aad6723c6538ab5f5c79"'
|
33
33
|
Cache-Control:
|
34
34
|
- max-age=0, private, must-revalidate
|
35
35
|
X-Request-Id:
|
36
|
-
-
|
36
|
+
- b24abdee-51c6-41f8-a9ca-fdb9e32a6e2a
|
37
37
|
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:23 GMT
|
38
|
+
- '0.032989'
|
43
39
|
Connection:
|
44
|
-
-
|
40
|
+
- keep-alive
|
41
|
+
Server:
|
42
|
+
- thin
|
45
43
|
body:
|
46
44
|
encoding: UTF-8
|
47
|
-
string: '{"collection":{"version":"3.
|
45
|
+
string: '{"collection":{"version":"3.72.0","href":"http://localhost:3000/members","template":{"data":[{"name":"first_name","value":null},{"name":"last_name","value":null},{"name":"gender","value":null},{"name":"position","value":null},{"name":"is_manager","value":null},{"name":"birthday","value":null},{"name":"hide_age","value":null},{"name":"hide_address","value":null},{"name":"is_non_player","value":null},{"name":"address_street1","value":null},{"name":"address_street2","value":null},{"name":"address_city","value":null},{"name":"address_state","value":null},{"name":"address_zip","value":null},{"name":"jersey_number","value":null},{"name":"team_id","value":null}]},"links":[{"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":"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":"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":"member_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"user","href":"http://localhost:3000/users"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/members/search?id=3"}],"queries":[{"rel":"search","href":"http://localhost:3000/members/search","data":[{"name":"team_id","value":null},{"name":"user_id","value":null},{"name":"id","value":null}]},{"rel":"managers","href":"http://localhost:3000/members/managers","data":[{"name":"team_id","value":null}]},{"rel":"owner","href":"http://localhost:3000/members/owner","data":[{"name":"team_id","value":null}]}],"commands":[{"rel":"disable_member","href":"http://localhost:3000/members/disable_member","data":[{"name":"member_id","value":null}]},{"rel":"upload_member_photo","href":"http://localhost:3000/members/upload_member_photo","data":[{"name":"member_id","value":null},{"name":"file","value":null},{"name":"x","value":null},{"name":"y","value":null},{"name":"width","value":null},{"name":"height","value":null}]},{"rel":"remove_member_photo","href":"http://localhost:3000/members/remove_member_photo","data":[{"name":"member_id","value":null}]},{"rel":"generate_member_thumbnail","href":"http://localhost:3000/members/generate_member_thumbnail","data":[{"name":"member_id","value":null},{"name":"x","value":null},{"name":"y","value":null},{"name":"width","value":null},{"name":"height","value":null}]}],"items":[{"href":"http://localhost:3000/members/3","data":[{"name":"id","value":3},{"name":"type","value":"member"},{"name":"address_city","value":null},{"name":"address_state","value":null},{"name":"address_street1","value":null},{"name":"address_street2","value":null},{"name":"address_zip","value":null},{"name":"birthday","value":""},{"name":"first_name","value":"Manny"},{"name":"gender","value":null},{"name":"has_facebook_post_scores_enabled","value":false},{"name":"hide_address","value":null},{"name":"hide_age","value":null},{"name":"invitation_code","value":null},{"name":"invitation_declined","value":null},{"name":"is_activated","value":true},{"name":"is_invitable","value":false},{"name":"is_invited","value":false},{"name":"is_manager","value":true},{"name":"is_non_player","value":false},{"name":"is_owner","value":false},{"name":"is_ownership_pending","value":null},{"name":"jersey_number","value":null},{"name":"last_logged_in_at","value":null,"type":"DateTime"},{"name":"last_name","value":"Manager"},{"name":"position","value":null},{"name":"team_id","value":1},{"name":"user_id","value":6},{"name":"updated_at","value":"2015-05-28T15:02:25Z","type":"DateTime"},{"name":"created_at","value":"2015-05-28T15:02:25Z","type":"DateTime"}],"links":[{"rel":"assignments","href":"http://localhost:3000/assignments/search?member_id=3"},{"rel":"availabilities","href":"http://localhost:3000/availabilities/search?member_id=3"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails/search?member_id=3"},{"rel":"broadcast_smses","href":"http://localhost:3000/broadcast_smses/search?member_id=3"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses/search?member_id=3"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers/search?member_id=3"},{"rel":"contacts","href":"http://localhost:3000/contacts/search?member_id=3"},{"rel":"custom_data","href":"http://localhost:3000/custom_data/search?member_id=3"},{"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?member_id=3"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields/search?team_id=1"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts/search?member_id=3"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions/search?member_id=3"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics/search?team_id=1"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents/search?member_id=3"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses/search?member_id=3"},{"rel":"member_files","href":"http://localhost:3000/member_files/search?member_id=3"},{"rel":"member_links","href":"http://localhost:3000/member_links/search?member_id=3"},{"rel":"member_payments","href":"http://localhost:3000/member_payments/search?member_id=3"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers/search?member_id=3"},{"rel":"member_preferences","href":"http://localhost:3000/members_preferences/3"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data/search?member_id=3"},{"rel":"team","href":"http://localhost:3000/teams/1"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses/search?member_id=3"},{"rel":"user","href":"http://localhost:3000/users/6"}]}]}}'
|
48
46
|
http_version: '1.1'
|
49
47
|
adapter_metadata:
|
50
|
-
effective_url: http://localhost:3000/members/search?id=
|
51
|
-
recorded_at:
|
48
|
+
effective_url: http://localhost:3000/members/search?id=3
|
49
|
+
recorded_at: Thu, 28 May 2015 15:03:24 GMT
|
52
50
|
- request:
|
53
51
|
method: get
|
54
52
|
uri: http://localhost:3000/teams/1
|
@@ -63,44 +61,42 @@ http_interactions:
|
|
63
61
|
response:
|
64
62
|
status:
|
65
63
|
code: 200
|
66
|
-
message:
|
64
|
+
message: OK
|
67
65
|
headers:
|
68
66
|
Content-Type:
|
69
67
|
- application/vnd.collection+json
|
70
68
|
Content-Length:
|
71
|
-
- '
|
69
|
+
- '10875'
|
72
70
|
X-Content-Type-Options:
|
73
71
|
- nosniff
|
74
|
-
X-
|
72
|
+
X-RateLimit-Limit:
|
75
73
|
- '5000'
|
76
|
-
X-
|
77
|
-
- '
|
78
|
-
X-
|
79
|
-
- '
|
80
|
-
|
81
|
-
- '"
|
74
|
+
X-RateLimit-Remaining:
|
75
|
+
- '4871'
|
76
|
+
X-RateLimit-Reset:
|
77
|
+
- '1432828850'
|
78
|
+
ETag:
|
79
|
+
- '"f51223f3f84e28a52f00ce09b5c6914e"'
|
82
80
|
Cache-Control:
|
83
81
|
- max-age=0, private, must-revalidate
|
84
82
|
X-Request-Id:
|
85
|
-
-
|
83
|
+
- a149207a-0c0f-4d61-b10b-f5b78cdda25b
|
86
84
|
X-Runtime:
|
87
|
-
- '0.
|
88
|
-
Server:
|
89
|
-
- WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
|
90
|
-
Date:
|
91
|
-
- Wed, 08 Apr 2015 19:24:23 GMT
|
85
|
+
- '0.060096'
|
92
86
|
Connection:
|
93
|
-
-
|
87
|
+
- keep-alive
|
88
|
+
Server:
|
89
|
+
- thin
|
94
90
|
body:
|
95
91
|
encoding: UTF-8
|
96
|
-
string: '{"collection":{"version":"3.
|
92
|
+
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/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
|
97
93
|
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
|
98
|
-
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":"
|
99
|
-
States"},{"name":"location_postal_code","value":"80951"},{"name":"location_latitude","value":
|
94
|
+
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
|
95
|
+
States"},{"name":"location_postal_code","value":"80951"},{"name":"location_latitude","value":null},{"name":"location_longitude","value":null},{"name":"name","value":"Base
|
100
96
|
Team"},{"name":"plan_id","value":14},{"name":"season_name","value":null},{"name":"sport_id","value":1},{"name":"time_zone_description","value":"Mountain
|
101
|
-
Time (US & Canada)"},{"name":"time_zone_iana_name","value":"America/Denver"},{"name":"time_zone_offset","value":"-07:00"},{"name":"updated_at","value":"2015-
|
97
|
+
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%252Ba08BS5xyp1dHMOjVVvQPmlGdCebDpZJEIA5ysqcsrI33JZZvAn%252FIn1Oib4Rr4I53n5pSftBsME2FdbuMfYeFFvKSDtIuEk%253D"},{"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%252Ba08BS5xyp1dHMOjVVvQPmlGdCebDpZJEIA5ysqcsrI33JZZvAn%252FIn1Oib4Rr4I53n5pSftBsME2FdbuMfYeFFvKSDtIuEk%253D"},{"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"}]}]}}'
|
102
98
|
http_version: '1.1'
|
103
99
|
adapter_metadata:
|
104
100
|
effective_url: http://localhost:3000/teams/1
|
105
|
-
recorded_at:
|
101
|
+
recorded_at: Thu, 28 May 2015 15:03:24 GMT
|
106
102
|
recorded_with: VCR 2.9.3
|
@@ -2,19 +2,19 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:3000/bulk_load?team_id=0&types=team%2Cmember
|
5
|
+
uri: http://localhost:3000/bulk_load?team_id=0&types=team%2Cmember&hmac_client_id=classic&hmac_nonce=5910e347-825e-43de-84cb-a2de462bc46d&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
|
+
- 5d6bd8eddca84d9074a99a80ad8afd2b41197cc54e434d0a35fc5bcde52e625c
|
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
|
@@ -22,31 +22,23 @@ http_interactions:
|
|
22
22
|
- '374'
|
23
23
|
X-Content-Type-Options:
|
24
24
|
- nosniff
|
25
|
-
|
26
|
-
- '
|
27
|
-
X-Ratelimit-Remaining:
|
28
|
-
- '4870'
|
29
|
-
X-Ratelimit-Reset:
|
30
|
-
- '1428521598'
|
31
|
-
Etag:
|
32
|
-
- '"8a5cc712ba9817dbf4cf00ab4e39978b"'
|
25
|
+
ETag:
|
26
|
+
- '"0e298bf0965f331eb9e8883eac99cb34"'
|
33
27
|
Cache-Control:
|
34
28
|
- max-age=0, private, must-revalidate
|
35
29
|
X-Request-Id:
|
36
|
-
-
|
30
|
+
- 246c1da3-5645-44af-8fd4-d34b24b34573
|
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.019284'
|
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/bulk_load","links":[{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/bulk_load?team_id=0&types=team%2Cmember"}],"queries":[{"rel":"bulk_load","href":"http://localhost:3000/bulk_load","data":[{"name":"team_id","value":null},{"name":"types","value":null}]}],"items":[]}}'
|
48
40
|
http_version: '1.1'
|
49
41
|
adapter_metadata:
|
50
|
-
effective_url: http://localhost:3000/bulk_load?team_id=0&types=team%2Cmember
|
51
|
-
recorded_at:
|
42
|
+
effective_url: http://localhost:3000/bulk_load?team_id=0&types=team%2Cmember&hmac_client_id=classic&hmac_nonce=5910e347-825e-43de-84cb-a2de462bc46d&hmac_timestamp=1432825402
|
43
|
+
recorded_at: Thu, 28 May 2015 15:03:22 GMT
|
52
44
|
recorded_with: VCR 2.9.3
|
@@ -14,7 +14,7 @@ http_interactions:
|
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 400
|
17
|
-
message:
|
17
|
+
message: Bad Request
|
18
18
|
headers:
|
19
19
|
Content-Type:
|
20
20
|
- application/vnd.collection+json
|
@@ -22,29 +22,27 @@ http_interactions:
|
|
22
22
|
- '75'
|
23
23
|
X-Content-Type-Options:
|
24
24
|
- nosniff
|
25
|
-
X-
|
25
|
+
X-RateLimit-Limit:
|
26
26
|
- '5000'
|
27
|
-
X-
|
28
|
-
- '
|
29
|
-
X-
|
30
|
-
- '
|
27
|
+
X-RateLimit-Remaining:
|
28
|
+
- '4870'
|
29
|
+
X-RateLimit-Reset:
|
30
|
+
- '1432828850'
|
31
31
|
Cache-Control:
|
32
32
|
- no-cache
|
33
33
|
X-Request-Id:
|
34
|
-
-
|
34
|
+
- c3382dbc-e672-4a0e-adcf-5770c9917d1c
|
35
35
|
X-Runtime:
|
36
|
-
- '0.
|
37
|
-
Server:
|
38
|
-
- WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
|
39
|
-
Date:
|
40
|
-
- Wed, 08 Apr 2015 19:24:25 GMT
|
36
|
+
- '0.016384'
|
41
37
|
Connection:
|
42
|
-
-
|
38
|
+
- keep-alive
|
39
|
+
Server:
|
40
|
+
- thin
|
43
41
|
body:
|
44
42
|
encoding: UTF-8
|
45
43
|
string: '{"collection":{"error":{"message":"You must include a team_id parameter"}}}'
|
46
44
|
http_version: '1.1'
|
47
45
|
adapter_metadata:
|
48
46
|
effective_url: http://localhost:3000/bulk_load
|
49
|
-
recorded_at:
|
47
|
+
recorded_at: Thu, 28 May 2015 15:03:24 GMT
|
50
48
|
recorded_with: VCR 2.9.3
|
@@ -4,8 +4,8 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: http://localhost:3000/members/disable_member
|
6
6
|
body:
|
7
|
-
encoding:
|
8
|
-
string:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "{}"
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- Faraday v0.9.1
|
@@ -14,7 +14,7 @@ http_interactions:
|
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 400
|
17
|
-
message:
|
17
|
+
message: Bad Request
|
18
18
|
headers:
|
19
19
|
Content-Type:
|
20
20
|
- application/vnd.collection+json
|
@@ -22,29 +22,27 @@ http_interactions:
|
|
22
22
|
- '70'
|
23
23
|
X-Content-Type-Options:
|
24
24
|
- nosniff
|
25
|
-
X-
|
25
|
+
X-RateLimit-Limit:
|
26
26
|
- '5000'
|
27
|
-
X-
|
28
|
-
- '
|
29
|
-
X-
|
30
|
-
- '
|
27
|
+
X-RateLimit-Remaining:
|
28
|
+
- '4875'
|
29
|
+
X-RateLimit-Reset:
|
30
|
+
- '1432828850'
|
31
31
|
Cache-Control:
|
32
32
|
- no-cache
|
33
33
|
X-Request-Id:
|
34
|
-
-
|
34
|
+
- b150e51b-0564-49b0-a90c-198fb5cc4f5f
|
35
35
|
X-Runtime:
|
36
|
-
- '0.
|
37
|
-
Server:
|
38
|
-
- WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
|
39
|
-
Date:
|
40
|
-
- Wed, 08 Apr 2015 19:24:25 GMT
|
36
|
+
- '0.012453'
|
41
37
|
Connection:
|
42
|
-
-
|
38
|
+
- keep-alive
|
39
|
+
Server:
|
40
|
+
- thin
|
43
41
|
body:
|
44
42
|
encoding: UTF-8
|
45
43
|
string: '{"collection":{"error":{"message":"You must provide the member_id."}}}'
|
46
44
|
http_version: '1.1'
|
47
45
|
adapter_metadata:
|
48
46
|
effective_url: http://localhost:3000/members/disable_member
|
49
|
-
recorded_at:
|
47
|
+
recorded_at: Thu, 28 May 2015 15:03:24 GMT
|
50
48
|
recorded_with: VCR 2.9.3
|
@@ -2,68 +2,60 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:3000/members/search?id=1
|
5
|
+
uri: http://localhost:3000/members/search?id=1&hmac_client_id=classic&hmac_nonce=dcee0fd8-7e8f-4fc7-89a2-c3be574daa15&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
|
+
- 2e6498933a18512d487b55f463637d9d4380f756f6ed613c445576653987a232
|
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
|
+
- '7260'
|
23
23
|
X-Content-Type-Options:
|
24
24
|
- nosniff
|
25
|
-
|
26
|
-
- '
|
27
|
-
X-Ratelimit-Remaining:
|
28
|
-
- '4877'
|
29
|
-
X-Ratelimit-Reset:
|
30
|
-
- '1428521597'
|
31
|
-
Etag:
|
32
|
-
- '"9fb29f5917b17294faab5d1fb952e0ea"'
|
25
|
+
ETag:
|
26
|
+
- '"cea2c7b0b381bd813dc9eed543df8e45"'
|
33
27
|
Cache-Control:
|
34
28
|
- max-age=0, private, must-revalidate
|
35
29
|
X-Request-Id:
|
36
|
-
-
|
30
|
+
- 915edd3b-a24a-4663-b4fa-00839687b0dc
|
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:23 GMT
|
32
|
+
- '0.025313'
|
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/members","template":{"data":[{"name":"first_name","value":null},{"name":"last_name","value":null},{"name":"gender","value":null},{"name":"position","value":null},{"name":"is_manager","value":null},{"name":"birthday","value":null},{"name":"hide_age","value":null},{"name":"hide_address","value":null},{"name":"is_non_player","value":null},{"name":"address_street1","value":null},{"name":"address_street2","value":null},{"name":"address_city","value":null},{"name":"address_state","value":null},{"name":"address_zip","value":null},{"name":"jersey_number","value":null},{"name":"team_id","value":null}]},"links":[{"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":"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":"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":"member_preferences","href":"http://localhost:3000/members_preferences"},{"rel":"team","href":"http://localhost:3000/teams"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses"},{"rel":"user","href":"http://localhost:3000/users"},{"rel":"root","href":"http://localhost:3000/"},{"rel":"self","href":"http://localhost:3000/members/search?id=1"}],"queries":[{"rel":"search","href":"http://localhost:3000/members/search","data":[{"name":"team_id","value":null},{"name":"user_id","value":null},{"name":"id","value":null}]},{"rel":"managers","href":"http://localhost:3000/members/managers","data":[{"name":"team_id","value":null}]},{"rel":"owner","href":"http://localhost:3000/members/owner","data":[{"name":"team_id","value":null}]}],"commands":[{"rel":"disable_member","href":"http://localhost:3000/members/disable_member","data":[{"name":"member_id","value":null}]},{"rel":"upload_member_photo","href":"http://localhost:3000/members/upload_member_photo","data":[{"name":"member_id","value":null},{"name":"file","value":null},{"name":"x","value":null},{"name":"y","value":null},{"name":"width","value":null},{"name":"height","value":null}]},{"rel":"remove_member_photo","href":"http://localhost:3000/members/remove_member_photo","data":[{"name":"member_id","value":null}]},{"rel":"generate_member_thumbnail","href":"http://localhost:3000/members/generate_member_thumbnail","data":[{"name":"member_id","value":null},{"name":"x","value":null},{"name":"y","value":null},{"name":"width","value":null},{"name":"height","value":null}]}],"items":[{"href":"http://localhost:3000/members/1","data":[{"name":"id","value":1},{"name":"type","value":"member"},{"name":"address_city","value":null},{"name":"address_state","value":null},{"name":"address_street1","value":null},{"name":"address_street2","value":null},{"name":"address_zip","value":null},{"name":"birthday","value":""},{"name":"first_name","value":"Commie"},{"name":"gender","value":null},{"name":"has_facebook_post_scores_enabled","value":false},{"name":"hide_address","value":null},{"name":"hide_age","value":null},{"name":"invitation_code","value":null},{"name":"invitation_declined","value":null},{"name":"is_activated","value":false},{"name":"is_invitable","value":false},{"name":"is_invited","value":false},{"name":"is_manager","value":true},{"name":"is_non_player","value":true},{"name":"is_owner","value":true},{"name":"is_ownership_pending","value":null},{"name":"jersey_number","value":null},{"name":"last_logged_in_at","value":null,"type":"DateTime"},{"name":"last_name","value":"Commish"},{"name":"position","value":null},{"name":"team_id","value":null},{"name":"user_id","value":null},{"name":"updated_at","value":"2015-05-28T15:03:21Z","type":"DateTime"},{"name":"created_at","value":"2015-05-28T15:02:24Z","type":"DateTime"}],"links":[{"rel":"assignments","href":"http://localhost:3000/assignments/search?member_id=1"},{"rel":"availabilities","href":"http://localhost:3000/availabilities/search?member_id=1"},{"rel":"broadcast_emails","href":"http://localhost:3000/broadcast_emails/search?member_id=1"},{"rel":"broadcast_smses","href":"http://localhost:3000/broadcast_smses/search?member_id=1"},{"rel":"contact_email_addresses","href":"http://localhost:3000/contact_email_addresses/search?member_id=1"},{"rel":"contact_phone_numbers","href":"http://localhost:3000/contact_phone_numbers/search?member_id=1"},{"rel":"contacts","href":"http://localhost:3000/contacts/search?member_id=1"},{"rel":"custom_data","href":"http://localhost:3000/custom_data/search?member_id=1"},{"rel":"custom_fields","href":"http://localhost:3000/custom_fields/search?"},{"rel":"league_custom_data","href":"http://localhost:3000/league_custom_data/search?member_id=1"},{"rel":"league_custom_fields","href":"http://localhost:3000/league_custom_fields/search?"},{"rel":"forum_posts","href":"http://localhost:3000/forum_posts/search?member_id=1"},{"rel":"forum_subscriptions","href":"http://localhost:3000/forum_subscriptions/search?member_id=1"},{"rel":"forum_topics","href":"http://localhost:3000/forum_topics/search?"},{"rel":"league_registrant_documents","href":"http://localhost:3000/league_registrant_documents/search?member_id=1"},{"rel":"member_email_addresses","href":"http://localhost:3000/member_email_addresses/search?member_id=1"},{"rel":"member_files","href":"http://localhost:3000/member_files/search?member_id=1"},{"rel":"member_links","href":"http://localhost:3000/member_links/search?member_id=1"},{"rel":"member_payments","href":"http://localhost:3000/member_payments/search?member_id=1"},{"rel":"member_phone_numbers","href":"http://localhost:3000/member_phone_numbers/search?member_id=1"},{"rel":"member_preferences","href":"http://localhost:3000/members_preferences/1"},{"rel":"statistic_data","href":"http://localhost:3000/statistic_data/search?member_id=1"},{"rel":"team","href":"http://localhost:3000/teams/"},{"rel":"tracked_item_statuses","href":"http://localhost:3000/tracked_item_statuses/search?member_id=1"}]}]}}'
|
48
40
|
http_version: '1.1'
|
49
41
|
adapter_metadata:
|
50
|
-
effective_url: http://localhost:3000/members/search?id=1
|
51
|
-
recorded_at:
|
42
|
+
effective_url: http://localhost:3000/members/search?id=1&hmac_client_id=classic&hmac_nonce=dcee0fd8-7e8f-4fc7-89a2-c3be574daa15&hmac_timestamp=1432825402
|
43
|
+
recorded_at: Thu, 28 May 2015 15:03:22 GMT
|
52
44
|
- request:
|
53
45
|
method: get
|
54
|
-
uri: http://localhost:3000/assignments/search?member_id=1
|
46
|
+
uri: http://localhost:3000/assignments/search?member_id=1&hmac_client_id=classic&hmac_nonce=8dbebef6-d67f-4681-8fc1-65e46fac93ee&hmac_timestamp=1432825402
|
55
47
|
body:
|
56
48
|
encoding: US-ASCII
|
57
49
|
string: ''
|
58
50
|
headers:
|
59
51
|
User-Agent:
|
60
52
|
- Faraday v0.9.1
|
61
|
-
|
62
|
-
-
|
53
|
+
X-Teamsnap-Hmac:
|
54
|
+
- 858bed0d8b48d4703285ee0fd8b569916103ecf5d4756447f33c682f78fc541b
|
63
55
|
response:
|
64
56
|
status:
|
65
57
|
code: 200
|
66
|
-
message:
|
58
|
+
message: OK
|
67
59
|
headers:
|
68
60
|
Content-Type:
|
69
61
|
- application/vnd.collection+json
|
@@ -71,31 +63,23 @@ http_interactions:
|
|
71
63
|
- '790'
|
72
64
|
X-Content-Type-Options:
|
73
65
|
- nosniff
|
74
|
-
|
75
|
-
- '
|
76
|
-
X-Ratelimit-Remaining:
|
77
|
-
- '4876'
|
78
|
-
X-Ratelimit-Reset:
|
79
|
-
- '1428521598'
|
80
|
-
Etag:
|
81
|
-
- '"49a5a3e6ca4c390f22fa304e39924459"'
|
66
|
+
ETag:
|
67
|
+
- '"3c2d5c105ad1ba85fab85fdf5b9d0f31"'
|
82
68
|
Cache-Control:
|
83
69
|
- max-age=0, private, must-revalidate
|
84
70
|
X-Request-Id:
|
85
|
-
-
|
71
|
+
- bfbebcad-41cf-4821-a2bb-9ddfc3055061
|
86
72
|
X-Runtime:
|
87
|
-
- '0.
|
88
|
-
Server:
|
89
|
-
- WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
|
90
|
-
Date:
|
91
|
-
- Wed, 08 Apr 2015 19:24:24 GMT
|
73
|
+
- '0.016067'
|
92
74
|
Connection:
|
93
|
-
-
|
75
|
+
- keep-alive
|
76
|
+
Server:
|
77
|
+
- thin
|
94
78
|
body:
|
95
79
|
encoding: UTF-8
|
96
|
-
string: '{"collection":{"version":"3.
|
80
|
+
string: '{"collection":{"version":"3.72.0","href":"http://localhost:3000/assignments","template":{"data":[{"name":"description","value":null},{"name":"event_id","value":null},{"name":"member_id","value":null}]},"links":[{"rel":"event","href":"http://localhost:3000/events"},{"rel":"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/assignments/search?member_id=1"}],"queries":[{"rel":"search","href":"http://localhost:3000/assignments/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}]}]}}'
|
97
81
|
http_version: '1.1'
|
98
82
|
adapter_metadata:
|
99
|
-
effective_url: http://localhost:3000/assignments/search?member_id=1
|
100
|
-
recorded_at:
|
83
|
+
effective_url: http://localhost:3000/assignments/search?member_id=1&hmac_client_id=classic&hmac_nonce=8dbebef6-d67f-4681-8fc1-65e46fac93ee&hmac_timestamp=1432825402
|
84
|
+
recorded_at: Thu, 28 May 2015 15:03:22 GMT
|
101
85
|
recorded_with: VCR 2.9.3
|