Class: ConfigStore::Client
- Inherits:
-
Object
- Object
- ConfigStore::Client
- Defined in:
- lib/configstore/clients/client.rb
Instance Method Summary collapse
-
#initialize(token:, base_url:) ⇒ Client
constructor
A new instance of Client.
Methods included from TokenClientMethods
#create_token, #delete_token, #get_token, #list_tokens, #update_token
Methods included from RecordClientMethods
#create_record, #delete_record, #get_record, #list_records, #update_record
Methods included from NamespaceClientMethods
#create_namespace, #delete_namespace, #get_namespace, #list_namespaces, #update_namespace
Methods included from AccountClientMethods
#create_account, #delete_account, #get_account, #list_accounts
Constructor Details
#initialize(token:, base_url:) ⇒ Client
Returns a new instance of Client.
9 10 11 |
# File 'lib/configstore/clients/client.rb', line 9 def initialize(token:, base_url:) @api = ConfigStore::API.new(token: token, base_url: base_url) end |