Class: Bskyrb::AppBskyFeedGetauthorfeed::GetAuthorFeed::Output
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyFeedGetauthorfeed::GetAuthorFeed::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.
2440 2441 2442 |
# File 'lib/bskyrb/generated_classes.rb', line 2440 def cursor @cursor end |
#feed ⇒ Object
Returns the value of attribute feed.
2442 2443 2444 |
# File 'lib/bskyrb/generated_classes.rb', line 2442 def feed @feed end |
Class Method Details
.from_hash(hash) ⇒ Object
2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 |
# File 'lib/bskyrb/generated_classes.rb', line 2444 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
2455 2456 2457 2458 2459 2460 2461 2462 2463 |
# File 'lib/bskyrb/generated_classes.rb', line 2455 def to_h { "cursor" => cursor, "feed" => feed } end |