Class: Bskyrb::AppBskyGraphDefs::ListItemView
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyGraphDefs::ListItemView
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#subject ⇒ Object
Returns the value of attribute subject.
Class Method Summary collapse
Instance Attribute Details
#subject ⇒ Object
Returns the value of attribute subject.
813 814 815 |
# File 'lib/bskyrb/generated_classes.rb', line 813 def subject @subject end |
Class Method Details
.from_hash(hash) ⇒ Object
815 816 817 818 819 820 821 822 |
# File 'lib/bskyrb/generated_classes.rb', line 815 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:subject=, hash["subject"]) instance end |