Sha256: 7b09133e6c0e0b02adcc9821108308a90935caf162127e3164f4f28fe92ca38e

Contents?: true

Size: 992 Bytes

Versions: 1

Compression:

Stored size: 992 Bytes

Contents

# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake

module Slack
  module Web
    module Api
      module Endpoints
        module CanvasesSections
          #
          # Find sections matching the provided criteria
          #
          # @option options [Object] :canvas_id
          #   Encoded ID of the canvas.
          # @option options [Object] :criteria
          #   Filtering criteria.
          # @see https://api.slack.com/methods/canvases.sections.lookup
          # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/canvases.sections/canvases.sections.lookup.json
          def canvases_sections_lookup(options = {})
            raise ArgumentError, 'Required arguments :canvas_id missing' if options[:canvas_id].nil?
            raise ArgumentError, 'Required arguments :criteria missing' if options[:criteria].nil?
            post('canvases.sections.lookup', options)
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 lib/slack/web/api/endpoints/canvases_sections.rb