Method: CloudApp::Account.create
- Defined in:
- lib/cloudapp/account.rb
.create(opts = {}) ⇒ CloudApp::Account
Create a CloudApp account.
71 72 73 74 |
# File 'lib/cloudapp/account.rb', line 71 def self.create(opts = {}) res = post "/register", :body => {:user => opts} res.ok? ? Account.new(res) : bad_response(res) end |