Class: Bskyrb::AppBskyActorSearchactors::SearchActors::Output
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyActorSearchactors::SearchActors::Output
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#actors ⇒ Object
Returns the value of attribute actors.
-
#cursor ⇒ Object
Returns the value of attribute cursor.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#actors ⇒ Object
Returns the value of attribute actors.
2326 2327 2328 |
# File 'lib/bskyrb/generated_classes.rb', line 2326 def actors @actors end |
#cursor ⇒ Object
Returns the value of attribute cursor.
2324 2325 2326 |
# File 'lib/bskyrb/generated_classes.rb', line 2324 def cursor @cursor end |
Class Method Details
.from_hash(hash) ⇒ Object
2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 |
# File 'lib/bskyrb/generated_classes.rb', line 2328 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:cursor=, hash["cursor"]) instance.send(:actors=, hash["actors"]) instance end |
Instance Method Details
#to_h ⇒ Object
2339 2340 2341 2342 2343 2344 2345 2346 2347 |
# File 'lib/bskyrb/generated_classes.rb', line 2339 def to_h { "cursor" => cursor, "actors" => actors } end |