Class: Bskyrb::AppBskyActorPutpreferences::PutPreferences::Input
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyActorPutpreferences::PutPreferences::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#preferences ⇒ Object
Returns the value of attribute preferences.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#preferences ⇒ Object
Returns the value of attribute preferences.
2266 2267 2268 |
# File 'lib/bskyrb/generated_classes.rb', line 2266 def preferences @preferences end |
Class Method Details
.from_hash(hash) ⇒ Object
2268 2269 2270 2271 2272 2273 2274 2275 |
# File 'lib/bskyrb/generated_classes.rb', line 2268 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:preferences=, hash["preferences"]) instance end |
Instance Method Details
#to_h ⇒ Object
2277 2278 2279 2280 2281 2282 2283 |
# File 'lib/bskyrb/generated_classes.rb', line 2277 def to_h { "preferences" => preferences } end |