Class: Sym::App::PrivateKey::KeySourceResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/sym/app/private_key/key_source_check.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#inputObject

Returns the value of attribute input

Returns:

  • (Object)

    the current value of input



9
10
11
# File 'lib/sym/app/private_key/key_source_check.rb', line 9

def input
  @input
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



9
10
11
# File 'lib/sym/app/private_key/key_source_check.rb', line 9

def key
  @key
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'lib/sym/app/private_key/key_source_check.rb', line 9

def name
  @name
end

#reductedObject

Returns the value of attribute reducted

Returns:

  • (Object)

    the current value of reducted



9
10
11
# File 'lib/sym/app/private_key/key_source_check.rb', line 9

def reducted
  @reducted
end

Instance Method Details

#to_sObject



10
11
12
# File 'lib/sym/app/private_key/key_source_check.rb', line 10

def to_s
  "#{name}://#{reducted ? '[reducted]' : input}"
end