Class: Bskyrb::AppBskyUnspeccedGetpopular::GetPopular::Output
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyUnspeccedGetpopular::GetPopular::Output
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#cursor ⇒ Object
Returns the value of attribute cursor.
-
#feed ⇒ Object
Returns the value of attribute feed.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#cursor ⇒ Object
Returns the value of attribute cursor.
3513 3514 3515 |
# File 'lib/bskyrb/generated_classes.rb', line 3513 def cursor @cursor end |
#feed ⇒ Object
Returns the value of attribute feed.
3515 3516 3517 |
# File 'lib/bskyrb/generated_classes.rb', line 3515 def feed @feed end |
Class Method Details
.from_hash(hash) ⇒ Object
3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 |
# File 'lib/bskyrb/generated_classes.rb', line 3517 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:cursor=, hash["cursor"]) instance.send(:feed=, hash["feed"]) instance end |
Instance Method Details
#to_h ⇒ Object
3528 3529 3530 3531 3532 3533 3534 3535 3536 |
# File 'lib/bskyrb/generated_classes.rb', line 3528 def to_h { "cursor" => cursor, "feed" => feed } end |