Class: Bskyrb::ComAtprotoServerCreatesession::CreateSession::Output
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoServerCreatesession::CreateSession::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.
-
#email ⇒ Object
Returns the value of attribute email.
-
#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.
5327 5328 5329 |
# File 'lib/bskyrb/generated_classes.rb', line 5327 def accessJwt @accessJwt end |
#did ⇒ Object
Returns the value of attribute did.
5333 5334 5335 |
# File 'lib/bskyrb/generated_classes.rb', line 5333 def did @did end |
#email ⇒ Object
Returns the value of attribute email.
5335 5336 5337 |
# File 'lib/bskyrb/generated_classes.rb', line 5335 def email @email end |
#handle ⇒ Object
Returns the value of attribute handle.
5331 5332 5333 |
# File 'lib/bskyrb/generated_classes.rb', line 5331 def handle @handle end |
#refreshJwt ⇒ Object
Returns the value of attribute refreshJwt.
5329 5330 5331 |
# File 'lib/bskyrb/generated_classes.rb', line 5329 def refreshJwt @refreshJwt end |
Class Method Details
.from_hash(hash) ⇒ Object
5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 |
# File 'lib/bskyrb/generated_classes.rb', line 5337 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.send(:email=, hash["email"]) instance end |
Instance Method Details
#to_h ⇒ Object
5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 |
# File 'lib/bskyrb/generated_classes.rb', line 5354 def to_h { "accessJwt" => accessJwt, "refreshJwt" => refreshJwt, "handle" => handle, "did" => did, "email" => email } end |