Sha256: 8a80ed0b54b6a65127beeae52b34b979de1478c3cf4d78d37ee300fe882a48f9

Contents?: true

Size: 391 Bytes

Versions: 3

Compression:

Stored size: 391 Bytes

Contents

require './lib/wxapi'
require 'redis'
require 'rest-client'
require 'json'
$redis = Redis.new(url: "redis://localhost:6379/0")
$we_api = Wxapi.new app_id: 'wx3b8fe6d36cc00e3e',
                    app_secret: 'e6755d03d7f58b71aac8c22f6271c265',
                    access_token_cache: false,
                    api_prefix: 'https://proxy.biying88.cn/proxywx'

puts $we_api.get_access_token

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wxapi-1.0.6 test.rb
wxapi-1.0.4 test.rb
wxapi-1.0.2 test.rb