sishen / uber-ruby

A Ruby Interface to the Uber API
MIT License
47 stars 42 forks source link

Changed api/activities.rb from v1.1 to v1.2 and added :start_city att… #7

Closed levans248 closed 8 years ago

levans248 commented 8 years ago

Hi,

Thank you for creating this gem, it is very useful!

I made a small update that changed api/activities.rb from v1.1 to v1.2 and added :start_city attr_accessor to models/activity.rb.

History v1.2 allows api to return city info that ride originated in, v1.1 does not make this data available.

:start_city attr_accessor allows user to call on start_city.