Sha256: ceac1ce3d2f8da8d04f1b57a1ebcaf8206a3c7ef14628c5f733d5d9e5068003c
Contents?: true
Size: 505 Bytes
Versions: 5
Compression:
Stored size: 505 Bytes
Contents
require 'singleton' require_relative "connection" require_relative "request" module Immoscout module Api class Client include Singleton include Immoscout::Api::Connection include Immoscout::Api::Request attr_writer :user_name def user_name @user_name || config.user_name end def url config.use_sandbox ? config.api_url_sandbox : config.api_url_live end def config Immoscout.configuration end end end end
Version data entries
5 entries across 5 versions & 1 rubygems