Class: Bskyrb::AppBskyGraphGetmutes::GetMutes::Output
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyGraphGetmutes::GetMutes::Output
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#cursor ⇒ Object
Returns the value of attribute cursor.
-
#mutes ⇒ Object
Returns the value of attribute mutes.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#cursor ⇒ Object
Returns the value of attribute cursor.
3214 3215 3216 |
# File 'lib/bskyrb/generated_classes.rb', line 3214 def cursor @cursor end |
#mutes ⇒ Object
Returns the value of attribute mutes.
3216 3217 3218 |
# File 'lib/bskyrb/generated_classes.rb', line 3216 def mutes @mutes end |
Class Method Details
.from_hash(hash) ⇒ Object
3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 |
# File 'lib/bskyrb/generated_classes.rb', line 3218 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:cursor=, hash["cursor"]) instance.send(:mutes=, hash["mutes"]) instance end |
Instance Method Details
#to_h ⇒ Object
3229 3230 3231 3232 3233 3234 3235 3236 3237 |
# File 'lib/bskyrb/generated_classes.rb', line 3229 def to_h { "cursor" => cursor, "mutes" => mutes } end |