Class: Bskyrb::AppBskyGraphGetlist::GetList::Output
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyGraphGetlist::GetList::Output
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#cursor ⇒ Object
Returns the value of attribute cursor.
-
#items ⇒ Object
Returns the value of attribute items.
-
#list ⇒ Object
Returns the value of attribute list.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#cursor ⇒ Object
Returns the value of attribute cursor.
3028 3029 3030 |
# File 'lib/bskyrb/generated_classes.rb', line 3028 def cursor @cursor end |
#items ⇒ Object
Returns the value of attribute items.
3032 3033 3034 |
# File 'lib/bskyrb/generated_classes.rb', line 3032 def items @items end |
#list ⇒ Object
Returns the value of attribute list.
3030 3031 3032 |
# File 'lib/bskyrb/generated_classes.rb', line 3030 def list @list end |
Class Method Details
.from_hash(hash) ⇒ Object
3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 |
# File 'lib/bskyrb/generated_classes.rb', line 3034 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:cursor=, hash["cursor"]) instance.send(:list=, hash["list"]) instance.send(:items=, hash["items"]) instance end |
Instance Method Details
#to_h ⇒ Object
3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 |
# File 'lib/bskyrb/generated_classes.rb', line 3047 def to_h { "cursor" => cursor, "list" => list, "items" => items } end |