class Deis::Client::User

Attributes

password[RW]

Public Instance Methods

save() click to toggle source
# File lib/deis/client/models/user.rb, line 15
def save
  if new_record?
    merge_attributes(
      connection.register_user(
        Cistern::Hash.stringify_keys(self.attributes.merge("password" => self.password))
      ).body
    )
  else
    raise NotImplementedError # not available ?
  end
end