Class: Bskyrb::AppBskyActorDefs::Preferences
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyActorDefs::Preferences
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#items ⇒ Object
Returns the value of attribute items.
Class Method Summary collapse
Instance Attribute Details
#items ⇒ Object
Returns the value of attribute items.
177 178 179 |
# File 'lib/bskyrb/generated_classes.rb', line 177 def items @items end |
Class Method Details
.from_hash(hash) ⇒ Object
179 180 181 182 183 184 185 186 |
# File 'lib/bskyrb/generated_classes.rb', line 179 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:items=, hash["items"]) instance end |