Class: Bskyrb::ComAtprotoServerRefreshsession::RefreshSession::Output
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoServerRefreshsession::RefreshSession::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.
5569 5570 5571 |
# File 'lib/bskyrb/generated_classes.rb', line 5569 def accessJwt @accessJwt end |
#did ⇒ Object
Returns the value of attribute did.
5575 5576 5577 |
# File 'lib/bskyrb/generated_classes.rb', line 5575 def did @did end |
#handle ⇒ Object
Returns the value of attribute handle.
5573 5574 5575 |
# File 'lib/bskyrb/generated_classes.rb', line 5573 def handle @handle end |
#refreshJwt ⇒ Object
Returns the value of attribute refreshJwt.
5571 5572 5573 |
# File 'lib/bskyrb/generated_classes.rb', line 5571 def refreshJwt @refreshJwt end |
Class Method Details
.from_hash(hash) ⇒ Object
5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 |
# File 'lib/bskyrb/generated_classes.rb', line 5577 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
5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 |
# File 'lib/bskyrb/generated_classes.rb', line 5592 def to_h { "accessJwt" => accessJwt, "refreshJwt" => refreshJwt, "handle" => handle, "did" => did } end |