Class: Aptible::CLI::Helpers::SecurityKey::Device
- Inherits:
-
Object
- Object
- Aptible::CLI::Helpers::SecurityKey::Device
- Defined in:
- lib/aptible/cli/helpers/security_key.rb
Instance Attribute Summary collapse
-
#key_handle ⇒ Object
readonly
Returns the value of attribute key_handle.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#rp_id ⇒ Object
readonly
Returns the value of attribute rp_id.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(version, key_handle, name, rp_id) ⇒ Device
constructor
A new instance of Device.
Constructor Details
#initialize(version, key_handle, name, rp_id) ⇒ Device
Returns a new instance of Device.
200 201 202 203 204 205 |
# File 'lib/aptible/cli/helpers/security_key.rb', line 200 def initialize(version, key_handle, name, rp_id) @version = version @key_handle = key_handle @name = name @rp_id = rp_id end |
Instance Attribute Details
#key_handle ⇒ Object (readonly)
Returns the value of attribute key_handle.
198 199 200 |
# File 'lib/aptible/cli/helpers/security_key.rb', line 198 def key_handle @key_handle end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
198 199 200 |
# File 'lib/aptible/cli/helpers/security_key.rb', line 198 def name @name end |
#rp_id ⇒ Object (readonly)
Returns the value of attribute rp_id.
198 199 200 |
# File 'lib/aptible/cli/helpers/security_key.rb', line 198 def rp_id @rp_id end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
198 199 200 |
# File 'lib/aptible/cli/helpers/security_key.rb', line 198 def version @version end |