Class: E3DB::ClientInfo
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- E3DB::ClientInfo
- Defined in:
- lib/e3db/client.rb
Overview
Information sent by the E3DB service about a client.
Instance Attribute Summary collapse
-
#client_id ⇒ String
The client's unique ID string.
-
#public_key ⇒ PublicKey
The client's public key information.
- #validated ⇒ Bool
Instance Attribute Details
#client_id ⇒ String
Returns 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_key ⇒ PublicKey
Returns 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 |
#validated ⇒ 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 |