Exception: ActiveSambaLdap::GroupDoesNotHaveSambaSID

Inherits:
Error
  • Object
show all
Defined in:
lib/active_samba_ldap/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from GetTextSupport

included

Constructor Details

#initialize(number) ⇒ GroupDoesNotHaveSambaSID

Returns a new instance of GroupDoesNotHaveSambaSID.



57
58
59
60
# File 'lib/active_samba_ldap/base.rb', line 57

def initialize(number)
  @number = number
  super(_("sambaSID attribute doesn't exist for gid number '%s'") % number)
end

Instance Attribute Details

#numberObject (readonly)

Returns the value of attribute number.



56
57
58
# File 'lib/active_samba_ldap/base.rb', line 56

def number
  @number
end