Class: Bskyrb::ComAtprotoSyncListrepos::Repo
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoSyncListrepos::Repo
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#did ⇒ Object
Returns the value of attribute did.
-
#head ⇒ Object
Returns the value of attribute head.
Class Method Summary collapse
Instance Attribute Details
#did ⇒ Object
Returns the value of attribute did.
1900 1901 1902 |
# File 'lib/bskyrb/generated_classes.rb', line 1900 def did @did end |
#head ⇒ Object
Returns the value of attribute head.
1902 1903 1904 |
# File 'lib/bskyrb/generated_classes.rb', line 1902 def head @head end |
Class Method Details
.from_hash(hash) ⇒ Object
1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 |
# File 'lib/bskyrb/generated_classes.rb', line 1904 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:did=, hash["did"]) instance.send(:head=, hash["head"]) instance end |