Sha256: 7b1b7973ecfaf901c0e170087313a1fc875017a13c1857f9aeb0e666cf5c04b7

Contents?: true

Size: 384 Bytes

Versions: 3

Compression:

Stored size: 384 Bytes

Contents

# frozen_string_literal: true

module Ambient
  class ClientConfiguration
    attr_reader :api_key, :app_key, :api_url

    ##
    # Creates a new Ambient Client
    #
    # @param api_key [String] the configuration for the Ambient client.
    def initialize(api_key:, app_key:, api_url:)
      @api_key = api_key
      @app_key = app_key
      @api_url = api_url
    end
  end
end
  

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ambient-ruby-client-0.1.5 lib/ambient/client_config.rb
ambient-ruby-client-0.1.4 lib/ambient/client_config.rb
ambient-ruby-client-0.1.3 lib/ambient/client_config.rb