Sha256: d4cdedf7221ac73281da73bfa420222c1f4f54c37d6ba8f6e77eccee293fb74b

Contents?: true

Size: 423 Bytes

Versions: 3

Compression:

Stored size: 423 Bytes

Contents

module Orias
  # Dedicated to request handling to ORIAS API
  #
  class Client < Base
    attr_accessor :api_endpoint, :per_request, :private_key

    # Initialize an Orias::Client instance
    def initialize(attributes = {})
      super
      @api_endpoint ||= Orias.configuration.api_endpoint
      @per_request ||= Orias.configuration.per_request
      @private_key ||= Orias.configuration.private_key
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
orias-0.4.1 lib/orias/client.rb
orias-0.4 lib/orias/client.rb
orias-0.3.0 lib/orias/client.rb