Class: Bosh::Cli::Client::Uaa::Prompt

Inherits:
Struct
  • Object
show all
Defined in:
lib/cli/client/uaa/prompt.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#display_textObject

Returns the value of attribute display_text


5
6
7
# File 'lib/cli/client/uaa/prompt.rb', line 5

def display_text
  @display_text
end

#fieldObject

Returns the value of attribute field


5
6
7
# File 'lib/cli/client/uaa/prompt.rb', line 5

def field
  @field
end

#typeObject

Returns the value of attribute type


5
6
7
# File 'lib/cli/client/uaa/prompt.rb', line 5

def type
  @type
end

Instance Method Details

#password?Boolean


6
7
8
# File 'lib/cli/client/uaa/prompt.rb', line 6

def password?
  type == 'password'
end