mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Update customer_token.rb
This commit is contained in:
1 parent
b31c3ad550
commit
76bd0d4e08
1 file changed
+1
-1
@@ -11,7 +11,7 @@
|
|||||||
class CustomerToken < ActiveRecord::Base
|
class CustomerToken < ActiveRecord::Base
|
||||||
unloadable
|
unloadable
|
||||||
attr_accessible :token, :expires_at, :issue_id
|
attr_accessible :token, :expires_at, :issue_id
|
||||||
validates_presence_of :token, :expires_at, :issue_id
|
validates_presence_of :expires_at, :issue_id
|
||||||
before_create :generate_token
|
before_create :generate_token
|
||||||
|
|
||||||
OAUTH_CONSUMER_SECRET = Setting.plugin_redmine_qbo['settingsOAuthConsumerSecret']
|
OAUTH_CONSUMER_SECRET = Setting.plugin_redmine_qbo['settingsOAuthConsumerSecret']
|
||||||
|
|||||||
Reference in new issue
Block a user