From f5fd6a9b35cc08ccff3c35a76e64acd40d29a9f7 Mon Sep 17 00:00:00 2001 From: "Frank C. Eckert" Date: Thu, 11 Jun 2015 15:16:58 +0200 Subject: [PATCH] remove special dev api endpoint --- lib/affilinet.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/affilinet.rb b/lib/affilinet.rb index 62ecd25..7e01a6a 100644 --- a/lib/affilinet.rb +++ b/lib/affilinet.rb @@ -25,11 +25,7 @@ class API # set the base_url and credentials # def initialize(user, password, options = {}) - @base_url = if options[:developer] - 'https://developer-api.affili.net' - else - 'https://api.affili.net' - end + @base_url = 'https://api.affili.net' @user = user @password = password end