We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Something about the map feels wonky, and I couldn't figure out how to query directly by name
def add_users_self_service(users_to_add) return "billing not integrated for this customer" unless chargify_id subscription = Chargify::Customer.find(chargify_id).subscriptions.first user_billing_component = subscription.components.select{|c| c.attributes['name'] == 'Users'}.first user_billing_component.allocated_quantity = user_billing_component.allocated_quantity + users_to_add user_billing_component.save end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Something about the map feels wonky, and I couldn't figure out how to query directly by name
The text was updated successfully, but these errors were encountered: