Class: Bskyrb::AppBskyFeedGetauthorfeed::GetAuthorFeed::Input
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyFeedGetauthorfeed::GetAuthorFeed::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#actor ⇒ Object
Returns the value of attribute actor.
-
#cursor ⇒ Object
Returns the value of attribute cursor.
-
#limit ⇒ Object
Returns the value of attribute limit.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#actor ⇒ Object
Returns the value of attribute actor.
2407 2408 2409 |
# File 'lib/bskyrb/generated_classes.rb', line 2407 def actor @actor end |
#cursor ⇒ Object
Returns the value of attribute cursor.
2411 2412 2413 |
# File 'lib/bskyrb/generated_classes.rb', line 2411 def cursor @cursor end |
#limit ⇒ Object
Returns the value of attribute limit.
2409 2410 2411 |
# File 'lib/bskyrb/generated_classes.rb', line 2409 def limit @limit end |
Class Method Details
.from_hash(hash) ⇒ Object
2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 |
# File 'lib/bskyrb/generated_classes.rb', line 2413 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:actor=, hash["actor"]) instance.send(:limit=, hash["limit"]) instance.send(:cursor=, hash["cursor"]) instance end |
Instance Method Details
#to_h ⇒ Object
2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 |
# File 'lib/bskyrb/generated_classes.rb', line 2426 def to_h { "actor" => actor, "limit" => limit, "cursor" => cursor } end |