Class: Bskyrb::AppBskyActorDefs::AdultContentPref
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyActorDefs::AdultContentPref
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Returns the value of attribute enabled.
Class Method Summary collapse
Instance Attribute Details
#enabled ⇒ Object
Returns the value of attribute enabled.
192 193 194 |
# File 'lib/bskyrb/generated_classes.rb', line 192 def enabled @enabled end |
Class Method Details
.from_hash(hash) ⇒ Object
194 195 196 197 198 199 200 201 |
# File 'lib/bskyrb/generated_classes.rb', line 194 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:enabled=, hash["enabled"]) instance end |