Class: Effective::QbRealm

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/effective/qb_realm.rb

Instance Method Summary collapse

Instance Method Details

#configured?Boolean

Returns:

  • (Boolean)


36
37
38
# File 'app/models/effective/qb_realm.rb', line 36

def configured?
  realm_id.present? && access_token.present? && .present? && payment_method_id.present?
end

#to_sObject



32
33
34
# File 'app/models/effective/qb_realm.rb', line 32

def to_s
  'QuickBooks Online Settings'
end