Remove the base_url method
This commit is contained in:
parent
51c030b945
commit
92e0e4c231
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue