Class: Bskyrb::ComAtprotoSyncGethead::GetHead::Input
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoSyncGethead::GetHead::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#did ⇒ Object
Returns the value of attribute did.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#did ⇒ Object
Returns the value of attribute did.
5849 5850 5851 |
# File 'lib/bskyrb/generated_classes.rb', line 5849 def did @did end |
Class Method Details
.from_hash(hash) ⇒ Object
5851 5852 5853 5854 5855 5856 5857 5858 |
# File 'lib/bskyrb/generated_classes.rb', line 5851 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:did=, hash["did"]) instance end |
Instance Method Details
#to_h ⇒ Object
5860 5861 5862 5863 5864 5865 5866 |
# File 'lib/bskyrb/generated_classes.rb', line 5860 def to_h { "did" => did } end |