lib/share_progress/client.rb in share_progress-0.1.1 vs lib/share_progress/client.rb in share_progress-0.1.2
- old
+ new
@@ -2,10 +2,10 @@
module ShareProgress
class Client
include HTTParty
- base_uri 'run.shareprogress.org/api/v1'
+ base_uri ENV['SHARE_PROGRESS_URI'] || 'run.shareprogress.org/api/v1'
default_params key: ENV['SHARE_PROGRESS_API_KEY']
class << self
def get(*args)