Class: Bskyrb::ComAtprotoRepoListrecords::Record
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoRepoListrecords::Record
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#cid ⇒ Object
Returns the value of attribute cid.
-
#uri ⇒ Object
Returns the value of attribute uri.
-
#value ⇒ Object
Returns the value of attribute value.
Class Method Summary collapse
Instance Attribute Details
#cid ⇒ Object
Returns the value of attribute cid.
1741 1742 1743 |
# File 'lib/bskyrb/generated_classes.rb', line 1741 def cid @cid end |
#uri ⇒ Object
Returns the value of attribute uri.
1739 1740 1741 |
# File 'lib/bskyrb/generated_classes.rb', line 1739 def uri @uri end |
#value ⇒ Object
Returns the value of attribute value.
1743 1744 1745 |
# File 'lib/bskyrb/generated_classes.rb', line 1743 def value @value end |
Class Method Details
.from_hash(hash) ⇒ Object
1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 |
# File 'lib/bskyrb/generated_classes.rb', line 1745 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:uri=, hash["uri"]) instance.send(:cid=, hash["cid"]) instance.send(:value=, hash["value"]) instance end |