Module: QuickbaseRecord::Client
- Includes:
- ActiveSupport::Concern
- Defined in:
- lib/quickbase_record/client.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#qb_client ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/quickbase_record/client.rb', line 11 def qb_client realm = QuickbaseRecord.configuration.realm token = QuickbaseRecord.configuration.token if QuickbaseRecord.configuration.username != "" username = QuickbaseRecord.configuration.username password = QuickbaseRecord.configuration.password else usertoken = QuickbaseRecord.configuration.usertoken end @qb_client = AdvantageQuickbase::API.new(realm, username, password, token, nil, usertoken) end |