nylas / nylas-ruby

Ruby bindings for the Nylas Platform APIs
https://nylas.com/docs
MIT License
101 stars 130 forks source link

CRUD functionality for Scheduling Pages #477

Closed briangadoury closed 5 months ago

briangadoury commented 6 months ago

Is your feature request related to a problem? Please describe. NOTE: I'd be willing to contribute this functionality. I'd like to be able to manage scheduling pages the same way I manage accounts and virtual calendars. We are still currently using the V2 API, so that is what I could contribute to. I know it's going away in October but I'd still like to build it. If it made sense to everyone, maybe I'd also port it to v6.x of this gem?

Describe the solution you'd like I'd like to be able to do something like:

nylas = Nylas::Client.new(api_key: '<NYLAS_API_KEY>')
nylas.scheduling_pages.create(...)
scheduling_page = nylas.scheduling_pages.find(...).first
scheduling_page.destroy

Describe alternatives you've considered I'm currently rolling my own code for this that I'm wrapping around Nylas::API using DelegateClass so it looks natively supported to our code that uses it.

Additional context I'm looking for a fun open source side project and I'm down to build this in a way that blends seamlessly with the rest of this codebase. Also I love writing tests. 🤯