README.md in pennride-0.1 vs README.md in pennride-0.1.1
- old
+ new
@@ -39,21 +39,23 @@
#### List all Routes ####
```ruby
require 'pennride'
-pennride = PennRide.new
-p pennride.routes```
+pennride = Pennride.new
+p pennride.routes
+```
#### Get all Stops for a certain Route ####
```ruby
require 'pennride'
-pennride = PennRide.new
+pennride = Pennride.new
routes = pennride.routes
route = routes.first # East Shuttle Route
-stops = route.stops```
+stops = route.stops
+```
### Stops ###
*Note: Because PennRide is not in operation as of this gem's writing, there is no way for me to test the arrival time function. The gem and docs will be updated when the schedule information becomes available.*
@@ -61,15 +63,16 @@
#### Get the arrival times of a Stop ####
```ruby
require 'pennride'
-pennride = PennRide.new
+pennride = Pennride.new
routes = pennride.routes
route = routes.first # East Shuttle Route
stops = route.stops
stop = route.stops.first
-p stop.arrival_times```
+p stop.arrival_times
+```
## Web API ##
*I plan to make the PennRide information available through a RESTful JSON web API. When the API is available, this section will be updated with the information needed to access the API.*
\ No newline at end of file