#kd-listobject
1 messages · Page 1 of 1 (latest)
Hello 👋
Just so that I'm on the same page, can you confirm which API endpoint is this for?
It is for any of the list calls.
For example, Stripe::Customer.list({limit: 5}) creates a Stripe::ListObject in Ruby. I would like to add items to this.
something like cus_list = Stripe::Customer.list({limit: 5})
cus_list.append(my_value)
So you can treat the ListObject as a hash and set the values accordingly
like
cus_list["john"] = "doe"