Class: Bskyrb::AppBskyActorGetpreferences::GetPreferences::Output
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyActorGetpreferences::GetPreferences::Output
- 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.
2101 2102 2103 |
# File 'lib/bskyrb/generated_classes.rb', line 2101 def preferences @preferences end |
Class Method Details
.from_hash(hash) ⇒ Object
2103 2104 2105 2106 2107 2108 2109 2110 |
# File 'lib/bskyrb/generated_classes.rb', line 2103 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
2112 2113 2114 2115 2116 2117 2118 |
# File 'lib/bskyrb/generated_classes.rb', line 2112 def to_h { "preferences" => preferences } end |