Exception: HatenaDiary::LoginError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- HatenaDiary::LoginError
- Defined in:
- lib/hatenadiary.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Instance Method Summary collapse
Instance Attribute Details
#password ⇒ Object (readonly)
Returns the value of attribute password.
53 54 55 |
# File 'lib/hatenadiary.rb', line 53 def password @password end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
52 53 54 |
# File 'lib/hatenadiary.rb', line 52 def username @username end |
Instance Method Details
#set_account(username, password) ⇒ Object
46 47 48 49 50 |
# File 'lib/hatenadiary.rb', line 46 def set_account(username, password) @username = username @password = password self end |