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



76
77
78
79
80
# File 'lib/e3db/client.rb', line 76

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



76
77
78
79
80
# File 'lib/e3db/client.rb', line 76

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

#validatedBool

Returns:

  • (Bool)


76
77
78
79
80
# File 'lib/e3db/client.rb', line 76

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