Class: Bskyrb::AppBskyActorSearchactors::SearchActors::Input
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyActorSearchactors::SearchActors::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#cursor ⇒ Object
Returns the value of attribute cursor.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#term ⇒ Object
Returns the value of attribute term.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#cursor ⇒ Object
Returns the value of attribute cursor.
2295 2296 2297 |
# File 'lib/bskyrb/generated_classes.rb', line 2295 def cursor @cursor end |
#limit ⇒ Object
Returns the value of attribute limit.
2293 2294 2295 |
# File 'lib/bskyrb/generated_classes.rb', line 2293 def limit @limit end |
#term ⇒ Object
Returns the value of attribute term.
2291 2292 2293 |
# File 'lib/bskyrb/generated_classes.rb', line 2291 def term @term end |
Class Method Details
.from_hash(hash) ⇒ Object
2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 |
# File 'lib/bskyrb/generated_classes.rb', line 2297 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:term=, hash["term"]) instance.send(:limit=, hash["limit"]) instance.send(:cursor=, hash["cursor"]) instance end |
Instance Method Details
#to_h ⇒ Object
2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 |
# File 'lib/bskyrb/generated_classes.rb', line 2310 def to_h { "term" => term, "limit" => limit, "cursor" => cursor } end |