Skip to content

Commit

Permalink
update method now uses the PUSH url when calling ducks board servers.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabceb committed Feb 6, 2013
1 parent 6623545 commit c0829d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ducksboard/widget.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def timestamp=(time)

def update(data=nil)
@data = data if data
self.class.post('/' + id.to_s,
self.class.post("#{PUSH_URI}/#{@id.to_s}",
:basic_auth => auth,
:body => @data.to_json)
end
Expand Down

0 comments on commit c0829d3

Please sign in to comment.