Sha256: 608387c344ebf1bfc304a9829f2f0ce11d3017573fd491f33ea79ae8f346ebcb

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

require "eric_weixin/version"
require "rest-client"

#加载model
require File.dirname(__FILE__) + '/eric_weixin/app/model/access_token.rb'
require File.dirname(__FILE__) + '/eric_weixin/app/model/article.rb'
require File.dirname(__FILE__) + '/eric_weixin/app/model/article_news.rb'
require File.dirname(__FILE__) + '/eric_weixin/app/model/news.rb'
require File.dirname(__FILE__) + '/eric_weixin/app/model/public_account.rb'
require File.dirname(__FILE__) + '/eric_weixin/app/model/reply_message_rule.rb'
require File.dirname(__FILE__) + '/eric_weixin/app/model/template_message_log.rb'
require File.dirname(__FILE__) + '/eric_weixin/app/model/weixin_user.rb'
require File.dirname(__FILE__) + '/eric_weixin/app/model/message_log.rb'
require File.dirname(__FILE__) + '/eric_weixin/app/model/two_dimension_code.rb'

#加载moudle
require File.dirname(__FILE__) + '/eric_weixin/app/moudles/reply_message.rb'
require File.dirname(__FILE__) + '/eric_weixin/app/moudles/mult_customer.rb'
require File.dirname(__FILE__) + '/eric_weixin/app/moudles/snsapi.rb'


#加载controller
require File.dirname(__FILE__) + '/eric_weixin/app/controllers/weixin/weixin_controller'


module EricWeixin
  # 把gem目录放作为视图目录
  ActionController::Base.append_view_path(File.dirname(__FILE__) + '/eric_weixin/app/views')



end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eric_weixin-0.0.8 lib/eric_weixin.rb