Sha256: 2f41fd76cba31a52783c25746196f4d8e4e7b88b1ccf1964cb87325109a3578c

Contents?: true

Size: 209 Bytes

Versions: 1

Compression:

Stored size: 209 Bytes

Contents

require "otp/base"

module OTP
  class HOTP < OTP::Base
    attr_accessor :count

    def initialize(*args)
      super
      self.count = 0
    end

    def moving_factor
      return count
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
otp-0.0.2 lib/otp/hotp.rb