Class: E3DB::ClientInfo

Inherits:
Dry::Struct
  • Object
show all
Defined in:
lib/e3db/client.rb

Overview

Information sent by the E3DB service about a client.

Instance Attribute Summary collapse

Instance Attribute Details

#client_idString

Returns the client's unique ID string.

Returns:

  • (String)

    the client's unique ID string



69
70
71
72
73
# File 'lib/e3db/client.rb', line 69

class ClientInfo < Dry::Struct
  attribute :client_id, Types::Strict::String
  attribute :public_key, PublicKey
  attribute :validated, Types::Strict::Bool
end

#public_keyPublicKey

Returns the client's public key information.

Returns:

  • (PublicKey)

    the client's public key information



69
70
71
72
73
# File 'lib/e3db/client.rb', line 69

class ClientInfo < Dry::Struct
  attribute :client_id, Types::Strict::String
  attribute :public_key, PublicKey
  attribute :validated, Types::Strict::Bool
end