Class: WixAnswers::Models::User

Inherits:
Base
  • Object
show all
Defined in:
lib/wixanswers/models/user/user.rb

Direct Known Subclasses

Agent

Instance Attribute Summary

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#initialize, #method_missing, #validate_schema!

Constructor Details

This class inherits a constructor from WixAnswers::Models::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class WixAnswers::Models::Base

Instance Method Details

#validate!Object



27
28
29
30
31
# File 'lib/wixanswers/models/user/user.rb', line 27

def validate!
  super

  Enumerations::UserType.validate!(self.userType)
end