Sha256: e6886330e1d199c24e0712628be3061897acba6e30470dbec9f4512c570056d2

Contents?: true

Size: 374 Bytes

Versions: 1

Compression:

Stored size: 374 Bytes

Contents

module Baidu
  module Aip
    module Tokenable
      @@access_token = nil
      @@expire_time = nil


      def access_token
        @@access_token
      end

      def expire_time
        @@expire_time
      end

      def access_token=(token)
        @@access_token = token
      end

      def expire_time=(time)
        @@expire_time = time
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
baidu-aip-0.1.0 lib/baidu/aip/tokenable.rb