Sha256: 7013bbe682e1c479a633b2cc12dfe83fdcd821b508e63c6d2ec8845d0f6c0cb3

Contents?: true

Size: 524 Bytes

Versions: 43

Compression:

Stored size: 524 Bytes

Contents

# frozen_string_literal: true

module Files
  class U2fSignRequest
    attr_reader :options, :attributes

    def initialize(attributes = {}, options = {})
      @attributes = attributes || {}
      @options = options || {}
    end

    # string - App ID for U2F
    def app_id
      @attributes[:app_id]
    end

    # string - Challenge String for U2F
    def challenge
      @attributes[:challenge]
    end

    # string - Signature request for U2F
    def sign_request
      @attributes[:sign_request]
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
files.com-1.0.49 lib/files.com/models/u2f_sign_request.rb
files.com-1.0.48 lib/files.com/models/u2f_sign_request.rb
files.com-1.0.47 lib/files.com/models/u2f_sign_request.rb
files.com-1.0.46 lib/files.com/models/u2f_sign_request.rb
files.com-1.0.45 lib/files.com/models/u2f_sign_request.rb
files.com-1.0.44 lib/files.com/models/u2f_sign_request.rb
files.com-1.0.43 lib/files.com/models/u2f_sign_request.rb
files.com-1.0.42 lib/files.com/models/u2f_sign_request.rb
files.com-1.0.41 lib/files.com/models/u2f_sign_request.rb
files.com-1.0.40 lib/files.com/models/u2f_sign_request.rb
files.com-1.0.39 lib/files.com/models/u2f_sign_request.rb
files.com-1.0.38 lib/files.com/models/u2f_sign_request.rb
files.com-1.0.37 lib/files.com/models/u2f_sign_request.rb
files.com-1.0.36 lib/files.com/models/u2f_sign_request.rb
files.com-1.0.35 lib/files.com/models/u2f_sign_request.rb
files.com-1.0.34 lib/files.com/models/u2f_sign_request.rb
files.com-1.0.33 lib/files.com/models/u2f_sign_request.rb
files.com-1.0.32 lib/files.com/models/u2f_sign_request.rb
files.com-1.0.31 lib/files.com/models/u2f_sign_request.rb
files.com-1.0.30 lib/files.com/models/u2f_sign_request.rb