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.
49 50 51 |
# File 'lib/hatenadiary.rb', line 49 def password @password end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
48 49 50 |
# File 'lib/hatenadiary.rb', line 48 def username @username end |
Instance Method Details
#set_account(username, password) ⇒ Object
42 43 44 45 46 |
# File 'lib/hatenadiary.rb', line 42 def set_account(username, password) @username = username @password = password self end |