Sha256: 15c89ee2e8b37d8b0078f1d318cf50bd90cba270e4408477ff0357dbe6a478bc
Contents?: true
Size: 536 Bytes
Versions: 1
Compression:
Stored size: 536 Bytes
Contents
# frozen_string_literal: true 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
immoscout-1.3.2 | lib/immoscout/api/client.rb |