Class: Bskyrb::ComAtprotoServerCreateaccount::CreateAccount::Input
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoServerCreateaccount::CreateAccount::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#did ⇒ Object
Returns the value of attribute did.
-
#email ⇒ Object
Returns the value of attribute email.
-
#handle ⇒ Object
Returns the value of attribute handle.
-
#inviteCode ⇒ Object
Returns the value of attribute inviteCode.
-
#password ⇒ Object
Returns the value of attribute password.
-
#recoveryKey ⇒ Object
Returns the value of attribute recoveryKey.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#did ⇒ Object
Returns the value of attribute did.
5064 5065 5066 |
# File 'lib/bskyrb/generated_classes.rb', line 5064 def did @did end |
#email ⇒ Object
Returns the value of attribute email.
5060 5061 5062 |
# File 'lib/bskyrb/generated_classes.rb', line 5060 def email @email end |
#handle ⇒ Object
Returns the value of attribute handle.
5062 5063 5064 |
# File 'lib/bskyrb/generated_classes.rb', line 5062 def handle @handle end |
#inviteCode ⇒ Object
Returns the value of attribute inviteCode.
5066 5067 5068 |
# File 'lib/bskyrb/generated_classes.rb', line 5066 def inviteCode @inviteCode end |
#password ⇒ Object
Returns the value of attribute password.
5068 5069 5070 |
# File 'lib/bskyrb/generated_classes.rb', line 5068 def password @password end |
#recoveryKey ⇒ Object
Returns the value of attribute recoveryKey.
5070 5071 5072 |
# File 'lib/bskyrb/generated_classes.rb', line 5070 def recoveryKey @recoveryKey end |
Class Method Details
.from_hash(hash) ⇒ Object
5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 |
# File 'lib/bskyrb/generated_classes.rb', line 5072 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:email=, hash["email"]) instance.send(:handle=, hash["handle"]) instance.send(:did=, hash["did"]) instance.send(:inviteCode=, hash["inviteCode"]) instance.send(:password=, hash["password"]) instance.send(:recoveryKey=, hash["recoveryKey"]) instance end |
Instance Method Details
#to_h ⇒ Object
5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 |
# File 'lib/bskyrb/generated_classes.rb', line 5091 def to_h { "email" => email, "handle" => handle, "did" => did, "inviteCode" => inviteCode, "password" => password, "recoveryKey" => recoveryKey } end |