Sha256: d5cccfddbbd21f1ec7abaf869d2f44e3924426b57446564eaeab482e9175506e

Contents?: true

Size: 858 Bytes

Versions: 2

Compression:

Stored size: 858 Bytes

Contents

require_relative "credentials/system"
require_relative "credentials/request"
require_relative "credentials/response"
require_relative "credentials/signature"

module Qravan
  BANNER = %(
        Data API Qravan Server
        Developed at CAPAA by Alexander Panasenkov, 2022
).freeze
  module Credentials
    class Query
      attr_accessor :query_credentials

      def initialize(query_credentials)
        @query_credentials ||= query_credentials
      end

      def credentials
        {
          response: Qravan::Credentials::Response.new(@query_credentials).prepare,
          system: Qravan::Credentials::System.new(@query_credentials).prepare,
          request: Qravan::Credentials::Request.new(@query_credentials).prepare,
          signature: Qravan::Credentials::Signature.new(@query_credentials).prepare
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
qravan-0.1.1 lib/qravan/credentials.rb
qravan-0.1.0 lib/qravan/credentials.rb