Class: Bskyrb::ComAtprotoAdminUpdateaccountemail::UpdateAccountEmail::Input
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoAdminUpdateaccountemail::UpdateAccountEmail::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#email ⇒ Object
Returns the value of attribute email.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
4217 4218 4219 |
# File 'lib/bskyrb/generated_classes.rb', line 4217 def account @account end |
#email ⇒ Object
Returns the value of attribute email.
4219 4220 4221 |
# File 'lib/bskyrb/generated_classes.rb', line 4219 def email @email end |
Class Method Details
.from_hash(hash) ⇒ Object
4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 |
# File 'lib/bskyrb/generated_classes.rb', line 4221 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:account=, hash["account"]) instance.send(:email=, hash["email"]) instance end |
Instance Method Details
#to_h ⇒ Object
4232 4233 4234 4235 4236 4237 4238 4239 4240 |
# File 'lib/bskyrb/generated_classes.rb', line 4232 def to_h { "account" => account, "email" => email } end |