{"action":"closed","issue":{"url":"https://api.github.com/repos/kctrlv/restful_stay/issues/38","repository_url":"https://api.github.com/repos/kctrlv/restful_stay","labels_url":"https://api.github.com/repos/kctrlv/restful_stay/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/kctrlv/restful_stay/issues/38/comments","events_url":"https://api.github.com/repos/kctrlv/restful_stay/issues/38/events","html_url":"https://github.com/kctrlv/restful_stay/issues/38","id":184360387,"number":38,"title":"Traveler can book rooms","user":{"login":"bheim6","id":19543092,"avatar_url":"https://avatars.githubusercontent.com/u/19543092?v=3","gravatar_id":"","url":"https://api.github.com/users/bheim6","html_url":"https://github.com/bheim6","followers_url":"https://api.github.com/users/bheim6/followers","following_url":"https://api.github.com/users/bheim6/following{/other_user}","gists_url":"https://api.github.com/users/bheim6/gists{/gist_id}","starred_url":"https://api.github.com/users/bheim6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bheim6/subscriptions","organizations_url":"https://api.github.com/users/bheim6/orgs","repos_url":"https://api.github.com/users/bheim6/repos","events_url":"https://api.github.com/users/bheim6/events{/privacy}","received_events_url":"https://api.github.com/users/bheim6/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"kctrlv","id":18424060,"avatar_url":"https://avatars.githubusercontent.com/u/18424060?v=3","gravatar_id":"","url":"https://api.github.com/users/kctrlv","html_url":"https://github.com/kctrlv","followers_url":"https://api.github.com/users/kctrlv/followers","following_url":"https://api.github.com/users/kctrlv/following{/other_user}","gists_url":"https://api.github.com/users/kctrlv/gists{/gist_id}","starred_url":"https://api.github.com/users/kctrlv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kctrlv/subscriptions","organizations_url":"https://api.github.com/users/kctrlv/orgs","repos_url":"https://api.github.com/users/kctrlv/repos","events_url":"https://api.github.com/users/kctrlv/events{/privacy}","received_events_url":"https://api.github.com/users/kctrlv/received_events","type":"User","site_admin":false},"assignees":[{"login":"rsbarbo","id":14164092,"avatar_url":"https://avatars.githubusercontent.com/u/14164092?v=3","gravatar_id":"","url":"https://api.github.com/users/rsbarbo","html_url":"https://github.com/rsbarbo","followers_url":"https://api.github.com/users/rsbarbo/followers","following_url":"https://api.github.com/users/rsbarbo/following{/other_user}","gists_url":"https://api.github.com/users/rsbarbo/gists{/gist_id}","starred_url":"https://api.github.com/users/rsbarbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsbarbo/subscriptions","organizations_url":"https://api.github.com/users/rsbarbo/orgs","repos_url":"https://api.github.com/users/rsbarbo/repos","events_url":"https://api.github.com/users/rsbarbo/events{/privacy}","received_events_url":"https://api.github.com/users/rsbarbo/received_events","type":"User","site_admin":false},{"login":"kctrlv","id":18424060,"avatar_url":"https://avatars.githubusercontent.com/u/18424060?v=3","gravatar_id":"","url":"https://api.github.com/users/kctrlv","html_url":"https://github.com/kctrlv","followers_url":"https://api.github.com/users/kctrlv/followers","following_url":"https://api.github.com/users/kctrlv/following{/other_user}","gists_url":"https://api.github.com/users/kctrlv/gists{/gist_id}","starred_url":"https://api.github.com/users/kctrlv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kctrlv/subscriptions","organizations_url":"https://api.github.com/users/kctrlv/orgs","repos_url":"https://api.github.com/users/kctrlv/repos","events_url":"https://api.github.com/users/kctrlv/events{/privacy}","received_events_url":"https://api.github.com/users/kctrlv/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-10-20T22:52:48Z","updated_at":"2016-10-26T23:21:53Z","closed_at":"2016-10-26T23:21:53Z","body":"Note: I made some arbitrary decisions here about how a traveler looks for listings, I am having the date selector on the main page and then the set of listings is filtered by those with dates available in that range, all subject to change and suggestion\n\nAs a Traveler\n\nWhen I visit \"/\"\nI expect to see a list of cities with available listings\nI expect to see a field to select the dates of my trip\nWhen I fill in start and end date\nAnd I click on a city link\n\nI expect my path to be \"/listings?city=City_name?start_date=day?end_date=day\"\nI expect to see a list of listings available in this city for the dates selected\n\nWhen I click on \"View Listing\" for a listing\nI expect my path to be \"/listings?city=City_name/:listing_id\"\nI expect to see the name of the listing\nI expect to see an image(s) associated with the listing\nI expect to see a description of the listing\nI expect to see a link to \"Book this Listing\"\n\nWhen I click on \"Book this Listing\"\nI expect to see a flash message \"Listing Name Booked!\"\nI expect my path to be \"/trips/:user_id\"\n\nI expect to see a list of my trips (most often ppl will only have one active trip)\nI expect to see \"Listing Name\"\nI expect to see the start and end date for the listing I just booked"}}
{"actor":{"display_login":"kctrlv"}}