Class: Bskyrb::ComAtprotoServerRequestpasswordreset::RequestPasswordReset::Input
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoServerRequestpasswordreset::RequestPasswordReset::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
5617 5618 5619 |
# File 'lib/bskyrb/generated_classes.rb', line 5617 def email @email end |
Class Method Details
.from_hash(hash) ⇒ Object
5619 5620 5621 5622 5623 5624 5625 5626 |
# File 'lib/bskyrb/generated_classes.rb', line 5619 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:email=, hash["email"]) instance end |
Instance Method Details
#to_h ⇒ Object
5628 5629 5630 5631 5632 5633 5634 |
# File 'lib/bskyrb/generated_classes.rb', line 5628 def to_h { "email" => email } end |