Class: Bskyrb::ComAtprotoLabelSubscribelabels::Labels
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoLabelSubscribelabels::Labels
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#labels ⇒ Object
Returns the value of attribute labels.
-
#seq ⇒ Object
Returns the value of attribute seq.
Class Method Summary collapse
Instance Attribute Details
#labels ⇒ Object
Returns the value of attribute labels.
1575 1576 1577 |
# File 'lib/bskyrb/generated_classes.rb', line 1575 def labels @labels end |
#seq ⇒ Object
Returns the value of attribute seq.
1573 1574 1575 |
# File 'lib/bskyrb/generated_classes.rb', line 1573 def seq @seq end |
Class Method Details
.from_hash(hash) ⇒ Object
1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 |
# File 'lib/bskyrb/generated_classes.rb', line 1577 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:seq=, hash["seq"]) instance.send(:labels=, hash["labels"]) instance end |