Class: Foobara::Auth::ApproveToken

Inherits:
Command
  • Object
show all
Defined in:
foobara-auth-0.1.1/src/approve_token.rb

Constant Summary

Constants included from TruncatedInspect

TruncatedInspect::MAX_LENGTH

Instance Method Summary collapse

Methods inherited from Command

install!

Methods included from TruncatedInspect

#inspect, truncating

Methods included from Concern

foobara_class_methods_module_for, foobara_concern?, included

Instance Method Details

#approve_tokenObject



16
17
18
# File 'src/approve_token.rb', line 16

def approve_token
  token_record.approve!
end

#executeObject



10
11
12
13
14
# File 'src/approve_token.rb', line 10

def execute
  approve_token

  token_record
end