Module: SmsManager::Configurable
- Included in:
- SmsManager
- Defined in:
- lib/sms_manager/configurable.rb
Instance Attribute Summary collapse
-
#hashed_password ⇒ Object
writeonly
Sets the attribute hashed_password.
-
#username ⇒ Object
writeonly
Sets the attribute username.
Instance Method Summary collapse
Instance Attribute Details
#hashed_password=(value) ⇒ Object (writeonly)
Sets the attribute hashed_password
5 6 7 |
# File 'lib/sms_manager/configurable.rb', line 5 def hashed_password=(value) @hashed_password = value end |
#username=(value) ⇒ Object (writeonly)
Sets the attribute username
5 6 7 |
# File 'lib/sms_manager/configurable.rb', line 5 def username=(value) @username = value end |
Instance Method Details
#configure {|_self| ... } ⇒ Object
7 8 9 10 11 |
# File 'lib/sms_manager/configurable.rb', line 7 def configure yield self validate_credential_type! self end |