Class: Bskyrb::AppBskyRichtextFacet::Mention
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyRichtextFacet::Mention
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#did ⇒ Object
Returns the value of attribute did.
Class Method Summary collapse
Instance Attribute Details
#did ⇒ Object
Returns the value of attribute did.
908 909 910 |
# File 'lib/bskyrb/generated_classes.rb', line 908 def did @did end |
Class Method Details
.from_hash(hash) ⇒ Object
910 911 912 913 914 915 916 917 |
# File 'lib/bskyrb/generated_classes.rb', line 910 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:did=, hash["did"]) instance end |