Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow billing_plan_id.

  • Loading branch information...
commit 528920b8b9686262369262155719832d1c6173ae 1 parent 603bf52
Robert Kästel authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/squall/user.rb
2  lib/squall/user.rb
View
@@ -23,7 +23,7 @@ def list
# :last_name => 'Smith',
# :group_id => 1
def create(options = {})
- params.required(:login, :email, :password).accepts(:first_name, :last_name, :user_group_id, :role_ids, :role).validate!(options)
+ params.required(:login, :email, :password).accepts(:first_name, :last_name, :user_group_id, :role_ids, :role, :billing_plan_id).validate!(options)
request(:post, '/users.json', default_params(options))
end
Please sign in to comment.
Something went wrong with that request. Please try again.