Class: Immobilienscout::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/immobilienscout/client.rb

Constant Summary collapse

SANDBOX_URL =
'https://rest.sandbox-immobilienscout24.de'
LIVE_URL =
'https://rest.immobilienscout24.de'

Class Method Summary collapse

Class Method Details

.api_urlObject



8
9
10
11
12
# File 'lib/immobilienscout/client.rb', line 8

def self.api_url
  return SANDBOX_URL if Immobilienscout.configuration.use_sandbox

  LIVE_URL
end