Class: Bskyrb::ComAtprotoSyncSubscriberepos::Info
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoSyncSubscriberepos::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.
2049 2050 2051 |
# File 'lib/bskyrb/generated_classes.rb', line 2049 def end |
#name ⇒ Object
Returns the value of attribute name.
2047 2048 2049 |
# File 'lib/bskyrb/generated_classes.rb', line 2047 def name @name end |
Class Method Details
.from_hash(hash) ⇒ Object
2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 |
# File 'lib/bskyrb/generated_classes.rb', line 2051 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:name=, hash["name"]) instance.send(:message=, hash["message"]) instance end |