Class: Bskyrb::AppBskyActorGetsuggestions::GetSuggestions::Output
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyActorGetsuggestions::GetSuggestions::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.
2237 2238 2239 |
# File 'lib/bskyrb/generated_classes.rb', line 2237 def actors @actors end |
#cursor ⇒ Object
Returns the value of attribute cursor.
2235 2236 2237 |
# File 'lib/bskyrb/generated_classes.rb', line 2235 def cursor @cursor end |
Class Method Details
.from_hash(hash) ⇒ Object
2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 |
# File 'lib/bskyrb/generated_classes.rb', line 2239 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
2250 2251 2252 2253 2254 2255 2256 2257 2258 |
# File 'lib/bskyrb/generated_classes.rb', line 2250 def to_h { "cursor" => cursor, "actors" => actors } end |