Class: AWSAuth::User

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/aws-auth/user.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#skip_before_saveObject

Returns the value of attribute skip_before_save.



20
21
22
# File 'lib/aws-auth/user.rb', line 20

def skip_before_save
  @skip_before_save
end

Instance Method Details

#destroyObject



15
16
17
18
# File 'lib/aws-auth/user.rb', line 15

def destroy
  self.deleted = 1
  self.save
end