Sha256: 892ff1e3f143b8c7f3e787249e4a4f422cc27271b12700152b931d9ac397ed49

Contents?: true

Size: 313 Bytes

Versions: 1

Compression:

Stored size: 313 Bytes

Contents

module Baidu::Aip
  module Configure
    def configure
      yield self if block_given?
    end

    def api_key=(key)
      @@api_key = key
    end

    def secret_key=(secret)
      @@secret_key = secret
    end

    def api_key
      @@api_key
    end

    def secret_key
      @@secret_key
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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