Class: CommandTower::Username::Available::Availability

Inherits:
Data
  • Object
show all
Defined in:
app/services/command_tower/username/available.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#availableObject (readonly)

Returns the value of attribute available

Returns:

  • (Object)

    the current value of available



13
14
15
# File 'app/services/command_tower/username/available.rb', line 13

def available
  @available
end

#validObject (readonly)

Returns the value of attribute valid

Returns:

  • (Object)

    the current value of valid



13
14
15
# File 'app/services/command_tower/username/available.rb', line 13

def valid
  @valid
end

Instance Method Details

#available?Boolean

Returns:

  • (Boolean)


16
# File 'app/services/command_tower/username/available.rb', line 16

def available? = available

#valid?Boolean

Returns:

  • (Boolean)


14
# File 'app/services/command_tower/username/available.rb', line 14

def valid? = valid