Class: Bskyrb::ComAtprotoServerCreateaccount::CreateAccount::Output
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoServerCreateaccount::CreateAccount::Output
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#accessJwt ⇒ Object
Returns the value of attribute accessJwt.
-
#did ⇒ Object
Returns the value of attribute did.
-
#handle ⇒ Object
Returns the value of attribute handle.
-
#refreshJwt ⇒ Object
Returns the value of attribute refreshJwt.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#accessJwt ⇒ Object
Returns the value of attribute accessJwt.
5111 5112 5113 |
# File 'lib/bskyrb/generated_classes.rb', line 5111 def accessJwt @accessJwt end |
#did ⇒ Object
Returns the value of attribute did.
5117 5118 5119 |
# File 'lib/bskyrb/generated_classes.rb', line 5117 def did @did end |
#handle ⇒ Object
Returns the value of attribute handle.
5115 5116 5117 |
# File 'lib/bskyrb/generated_classes.rb', line 5115 def handle @handle end |
#refreshJwt ⇒ Object
Returns the value of attribute refreshJwt.
5113 5114 5115 |
# File 'lib/bskyrb/generated_classes.rb', line 5113 def refreshJwt @refreshJwt end |
Class Method Details
.from_hash(hash) ⇒ Object
5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 |
# File 'lib/bskyrb/generated_classes.rb', line 5119 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:accessJwt=, hash["accessJwt"]) instance.send(:refreshJwt=, hash["refreshJwt"]) instance.send(:handle=, hash["handle"]) instance.send(:did=, hash["did"]) instance end |
Instance Method Details
#to_h ⇒ Object
5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 |
# File 'lib/bskyrb/generated_classes.rb', line 5134 def to_h { "accessJwt" => accessJwt, "refreshJwt" => refreshJwt, "handle" => handle, "did" => did } end |