Module: Hai::RestrictedAttributes::ClassMethods

Defined in:
lib/hai/restricted_attributes.rb

Instance Method Summary collapse

Instance Method Details

#get_restricted_attributesObject



12
13
14
# File 'lib/hai/restricted_attributes.rb', line 12

def get_restricted_attributes
  @@restricted_attributes
end

#restricted_attributes(*attrs) ⇒ Object



8
9
10
# File 'lib/hai/restricted_attributes.rb', line 8

def restricted_attributes(*attrs)
  @@restricted_attributes = attrs
end