Sha256: 58d7b758606913ce979a0ae12f46f761c91d9fad2966dcc0d56e1c6be01989fa

Contents?: true

Size: 702 Bytes

Versions: 1

Compression:

Stored size: 702 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
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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