Class: Bskyrb::ComAtprotoSyncGethead::GetHead::Output
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoSyncGethead::GetHead::Output
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#root ⇒ Object
Returns the value of attribute root.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#root ⇒ Object
Returns the value of attribute root.
5870 5871 5872 |
# File 'lib/bskyrb/generated_classes.rb', line 5870 def root @root end |
Class Method Details
.from_hash(hash) ⇒ Object
5872 5873 5874 5875 5876 5877 5878 5879 |
# File 'lib/bskyrb/generated_classes.rb', line 5872 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:root=, hash["root"]) instance end |
Instance Method Details
#to_h ⇒ Object
5881 5882 5883 5884 5885 5886 5887 |
# File 'lib/bskyrb/generated_classes.rb', line 5881 def to_h { "root" => root } end |