class QiitaTrend::Error::LoginFailureError
Qiitaへログイン失敗時に発生するエラークラス
Public Instance Methods
message()
click to toggle source
エラーメッセージを返します ログインに失敗した時のユーザー名とパスワードを含んだ形でメッセージを返します
@return [String] エラーメッセージ
# File lib/qiita_trend/error/login_failure_error.rb, line 11 def message "Login failed, Please confilm user_name and password(user:#{user_name},password:#{password})" end
password()
click to toggle source
ログインに失敗した時のパスワードを返します
@return [String] パスワード(Configの設定したパスワード)
# File lib/qiita_trend/error/login_failure_error.rb, line 25 def password QiitaTrend.configuration.password end
user_name()
click to toggle source
ログインに失敗した時のユーザー名を返します
@return [String] ユーザー名(Configの設定したユーザー名)
# File lib/qiita_trend/error/login_failure_error.rb, line 18 def user_name QiitaTrend.configuration.user_name end