Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't call instance methods like sip_peer.delete with different accounts #38

Open
bruno-campos opened this issue Oct 22, 2020 · 0 comments

Comments

@bruno-campos
Copy link

It is possible the class methods like BandwidthIris::SipPeer.create or BandwidthIris::SipPeerProducts.create_origination_settings have wrappers that accepts multiple params, including a client with account set. For example:

BandwidthIris::SipPeerProducts.create_origination_settings(iris_client, site_id, sip_peer_id, data)
BandwidthIris::SipPeer.create(iris_client, site_id, data)

But when using instance methods like sip_peer.delete, I need to rely on global configs and can't change the account. (related comment: #19 (comment))

Do you have plans on adding those methods as class methods that will accept the client as well? Is this something desirable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant