lib/dingtalk/client.rb in dingtalk-client-0.2.0 vs lib/dingtalk/client.rb in dingtalk-client-0.2.1

- old
+ new

@@ -2,20 +2,18 @@ require 'httparty' require 'active_support/all' require 'dingtalk/client/errors' require 'dingtalk/client/result' -require 'dingtalk/client/configurable' module Dingtalk # DingTalk Client # @see https://open-doc.dingtalk.com/ module Client extend ActiveSupport::Autoload + autoload :Configurable autoload :GroupRobotClient include Configurable - - def self.included(base) - base.include GroupRobotClient - end + include GroupRobotClient + extend self end end