Sha256: 4bb1f6532674e6c2b857b8532cf829006301fe4cff535241786074edd3396912

Contents?: true

Size: 742 Bytes

Versions: 1

Compression:

Stored size: 742 Bytes

Contents

# frozen_string_literal: true

require 'dingtalk/client/group_robot_client/core'
require 'dingtalk/client/group_robot_client/notify_text'
require 'dingtalk/client/group_robot_client/notify_markdown'
require 'dingtalk/client/group_robot_client/notify_feedcard'

module Dingtalk
  module Client
    # @see https://open-doc.dingtalk.com/microapp/serverapi2/qf2nxq
    module GroupRobotClient
      include HTTParty
      include Core
      include NotifyText
      include NotifyMarkdown
      include NotifyFeedcard
      base_uri Dingtalk::Client.config.group_robot_webhook_prefix
      headers  'Content-Type' => 'application/json'
      logger   ::Logger.new($stdout), :debug, :curl if Dingtalk::Client.config.is_debugging
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dingtalk-client-0.2.1 lib/dingtalk/client/group_robot_client.rb