Sha256: 1bd3688a7a6af2f5226cf26c17d8a896689c48e3e3530d5a1cbabcaf5a8ee969
Contents?: true
Size: 708 Bytes
Versions: 4
Compression:
Stored size: 708 Bytes
Contents
# Copyright 2022 Daniel Herzog # Use of this source code is governed by an MIT # license that can be found in the LICENSE.md file. # frozen_string_literal: true module DeepL module Requests module Glossary class Destroy < Base attr_reader :id def initialize(api, id, options = {}) super(api, options) @id = id end def request build_response(*execute_request_with_retries(delete_request)) end def to_s "DELETE #{uri.request_uri}" end private def build_response(_, _) id end def path "glossaries/#{id}" end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems