Class: Aptible::CLI::Helpers::SecurityKey::Device

Inherits:
Object
  • Object
show all
Defined in:
lib/aptible/cli/helpers/security_key.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_handleObject (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

#nameObject (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_idObject (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

#versionObject (readonly)

Returns the value of attribute version.



198
199
200
# File 'lib/aptible/cli/helpers/security_key.rb', line 198

def version
  @version
end