Class: Bskyrb::AppBskyGraphGetlists::GetLists::Output
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyGraphGetlists::GetLists::Output
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#cursor ⇒ Object
Returns the value of attribute cursor.
-
#lists ⇒ Object
Returns the value of attribute lists.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#cursor ⇒ Object
Returns the value of attribute cursor.
3156 3157 3158 |
# File 'lib/bskyrb/generated_classes.rb', line 3156 def cursor @cursor end |
#lists ⇒ Object
Returns the value of attribute lists.
3158 3159 3160 |
# File 'lib/bskyrb/generated_classes.rb', line 3158 def lists @lists end |
Class Method Details
.from_hash(hash) ⇒ Object
3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 |
# File 'lib/bskyrb/generated_classes.rb', line 3160 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:cursor=, hash["cursor"]) instance.send(:lists=, hash["lists"]) instance end |
Instance Method Details
#to_h ⇒ Object
3171 3172 3173 3174 3175 3176 3177 3178 3179 |
# File 'lib/bskyrb/generated_classes.rb', line 3171 def to_h { "cursor" => cursor, "lists" => lists } end |