Commit b05f6f5dbf37e3525520a27195889f133accc476

Authored by lanrion
1 parent 3d07768b
Exists in master

添加 # encoding: utf-8

lib/qy_wechat_api.rb
  1 +# encoding: utf-8
  2 +
1 3 require "rest-client"
2 4 require 'yajl/json_gem'
3 5  
... ...
lib/qy_wechat_api/api/department.rb
  1 +# encoding: utf-8
  2 +
1 3 module QyWechatApi
2 4 module Api
3 5 class Department < Base
... ...
lib/qy_wechat_api/api/tag.rb
  1 +# encoding: utf-8
  2 +
1 3 module QyWechatApi
2 4 module Api
3 5 class Tag < Base
... ...
lib/qy_wechat_api/api/user.rb
  1 +# encoding: utf-8
  2 +
1 3 module QyWechatApi
2 4 module Api
3 5 class User < Base
... ...
lib/qy_wechat_api/client.rb
  1 +# encoding: utf-8
  2 +
1 3 module QyWechatApi
2 4 class Client
3 5 attr_accessor :corp_id, :corp_secret, :expired_at # Time.now + expires_in
... ...
lib/qy_wechat_api/handler/global_code.rb
  1 +# encoding: utf-8
1 2 module QyWechatApi
2 3 GLOBAL_CODES = {
3 4 -1 => "系统繁忙",
... ...