Skip to content

Commit

Permalink
Add format parameter to #track
Browse files Browse the repository at this point in the history
For #11
  • Loading branch information
kyletolle committed Apr 10, 2015
1 parent 194a930 commit 8165200
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fulcrum/actions/gps_track.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ module Fulcrum
module GpsTrack
extend ActiveSupport::Concern

def track(id)
call(:get, member_action(id, 'track'))
def track(id, format='json')
call(:get, member_action(id, 'track', format))
end
end
end

0 comments on commit 8165200

Please sign in to comment.