Method: User#register_user

Defined in:
app/models/user.rb

#register_userObject



30
31
32
33
# File 'app/models/user.rb', line 30

def register_user
  self.encrypted_data = RubyBOSH.register(self)
  self.save
end