Module: QuickbaseRecord::Client

Includes:
ActiveSupport::Concern
Included in:
Model, Queries
Defined in:
lib/quickbase_record/client.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#qb_clientObject



11
12
13
14
15
16
17
18
# File 'lib/quickbase_record/client.rb', line 11

def qb_client
  realm = QuickbaseRecord.configuration.realm
  username = QuickbaseRecord.configuration.username
  password = QuickbaseRecord.configuration.password
  token = QuickbaseRecord.configuration.token

  @qb_client ||= AdvantageQuickbase::API.new(realm, username, password, token)
end