Class: JIJI::Plugin::ErrorSession
- Inherits:
-
Object
- Object
- JIJI::Plugin::ErrorSession
- Defined in:
- lib/jiji/plugin/embedded/single_click_client.rb
Overview
接続エラー時に使用するセッション 常にエラーをスローする。
Instance Method Summary collapse
-
#initialize(error) ⇒ ErrorSession
constructor
A new instance of ErrorSession.
- #method_missing(name, *args, &block) ⇒ Object
Constructor Details
#initialize(error) ⇒ ErrorSession
Returns a new instance of ErrorSession.
107 108 109 |
# File 'lib/jiji/plugin/embedded/single_click_client.rb', line 107 def initialize(error) @error = error end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object
110 111 112 |
# File 'lib/jiji/plugin/embedded/single_click_client.rb', line 110 def method_missing(name, *args, &block) raise @error end |