Class: Bskyrb::ComAtprotoLabelSubscribelabels::Info
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoLabelSubscribelabels::Info
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#name ⇒ Object
Returns the value of attribute name.
Class Method Summary collapse
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
1594 1595 1596 |
# File 'lib/bskyrb/generated_classes.rb', line 1594 def end |
#name ⇒ Object
Returns the value of attribute name.
1592 1593 1594 |
# File 'lib/bskyrb/generated_classes.rb', line 1592 def name @name end |
Class Method Details
.from_hash(hash) ⇒ Object
1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 |
# File 'lib/bskyrb/generated_classes.rb', line 1596 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:name=, hash["name"]) instance.send(:message=, hash["message"]) instance end |