Class: Foobara::Auth::ApproveToken
- Inherits:
-
Command
- Object
- Command
- Foobara::Auth::ApproveToken
show all
- Defined in:
- foobara-auth-0.1.1/src/approve_token.rb
Constant Summary
TruncatedInspect::MAX_LENGTH
Instance Method Summary
collapse
Methods inherited from Command
install!
#inspect, truncating
Methods included from Concern
foobara_class_methods_module_for, foobara_concern?, included
Instance Method Details
#approve_token ⇒ Object
16
17
18
|
# File 'src/approve_token.rb', line 16
def approve_token
token_record.approve!
end
|
#execute ⇒ Object
10
11
12
13
14
|
# File 'src/approve_token.rb', line 10
def execute
approve_token
token_record
end
|