Exception: Clacky::Channel::Adapters::Feishu::FeishuDocScopeError
- Inherits:
-
StandardError
- Object
- StandardError
- Clacky::Channel::Adapters::Feishu::FeishuDocScopeError
- Defined in:
- lib/clacky/server/channel/adapters/feishu/bot.rb
Overview
Raised when the app hasn’t been granted the API scope for documents (error code 99991672). The admin needs to approve the scope via the returned auth_url.
Instance Attribute Summary collapse
-
#auth_url ⇒ Object
readonly
Returns the value of attribute auth_url.
Instance Method Summary collapse
-
#initialize(auth_url) ⇒ FeishuDocScopeError
constructor
A new instance of FeishuDocScopeError.
Constructor Details
#initialize(auth_url) ⇒ FeishuDocScopeError
Returns a new instance of FeishuDocScopeError.
28 29 30 31 |
# File 'lib/clacky/server/channel/adapters/feishu/bot.rb', line 28 def initialize(auth_url) @auth_url = auth_url super("App is missing docx API scope") end |
Instance Attribute Details
#auth_url ⇒ Object (readonly)
Returns the value of attribute auth_url.
26 27 28 |
# File 'lib/clacky/server/channel/adapters/feishu/bot.rb', line 26 def auth_url @auth_url end |