{"action":"opened","issue":{"url":"https://api.github.com/repos/lemonsweets/oystercard/issues/13","labels_url":"https://api.github.com/repos/lemonsweets/oystercard/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/lemonsweets/oystercard/issues/13/comments","events_url":"https://api.github.com/repos/lemonsweets/oystercard/issues/13/events","html_url":"https://github.com/lemonsweets/oystercard/issues/13","id":102394944,"number":13,"title":"Saving the exit station","user":{"login":"lemonsweets","id":12461822,"avatar_url":"https://avatars.githubusercontent.com/u/12461822?v=3","gravatar_id":"","url":"https://api.github.com/users/lemonsweets","html_url":"https://github.com/lemonsweets","followers_url":"https://api.github.com/users/lemonsweets/followers","following_url":"https://api.github.com/users/lemonsweets/following{/other_user}","gists_url":"https://api.github.com/users/lemonsweets/gists{/gist_id}","starred_url":"https://api.github.com/users/lemonsweets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemonsweets/subscriptions","organizations_url":"https://api.github.com/users/lemonsweets/orgs","repos_url":"https://api.github.com/users/lemonsweets/repos","events_url":"https://api.github.com/users/lemonsweets/events{/privacy}","received_events_url":"https://api.github.com/users/lemonsweets/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-21T14:44:01Z","updated_at":"2015-08-21T14:44:01Z","closed_at":null,"body":"Now that you have added the entry station tracking to your Oystercard class, it's only logical that the card should also track the exit station.\n\nMake the card remember the exit station of the last journey, using the same approach you used for the entry station.\n\n## Skills you will learn:\n- S200: Selectively disable RSpec tests.\n\n## Interview questions you may expect:\n- I201: What is the `nil` value in Ruby? How can you check a variable is nil? What happens if nil is used in a conditional expression (`if/unless`)?\n- I202: Why would you want to temporarily disable some tests (make them pending)?\n\n## To complete this challenge:\n- [ ] Save the exit station name as a string\n- [ ] Write a test that will pass the name of the station to the `touch_out` method and verify that it's saved\n- [ ] Write a test that checks that the exit station is set to `nil` on touch in\n- [ ] Add an instance variable to hold the value of the exit station\n- [ ] Add an attribute reader to exposer the instance variable\n- [ ] Save the exit station on touch out, forget it on touch in\n\n## Suggested resources:\n- [True, False and Nil](http://www.skorks.com/2009/09/true-false-and-nil-objects-in-ruby/)\n- [Make tests pending in RSpec](https://www.relishapp.com/rspec/rspec-core/v/2-0/docs/pending/pending-examples)\n- [Ruby instance variables](https://rubymonk.com/learning/books/4-ruby-primer-ascent/chapters/45-more-classes/lessons/110-instance-variables)\n- [RSpec predicate matchers](https://www.relishapp.com/rspec/rspec-expectations/v/3-3/docs/built-in-matchers/predicate-matchers)"}}