Remove the base_url method

This commit is contained in:
gregoirenovel 2018-03-15 14:04:00 +01:00
parent 51c030b945
commit 92e0e4c231

View file

@ -40,7 +40,7 @@ class SIADE::API
end
def self.url(resource_name, siret_or_siren)
base_url + "/v2/" + resource_name + "/#{siret_or_siren}"
SIADEURL + "/v2/" + resource_name + "/#{siret_or_siren}"
end
def self.mandatory_params(siret_or_siren, procedure_id)
@ -50,8 +50,4 @@ class SIADE::API
object: "procedure_id: #{procedure_id}"
}
end
def self.base_url
SIADEURL
end
end