Sha256: 9125748f187a6cc08da9a72af3fa4c74db671af26023971ff37c05f0807a35e3

Contents?: true

Size: 329 Bytes

Versions: 8

Compression:

Stored size: 329 Bytes

Contents

# frozen_string_literal: true

module RubyLokaliseApi
  module Endpoints
    class WebhooksEndpoint < MainEndpoint
      private

      def base_query(project_id, webhook_id = nil, *actions)
        {
          projects: project_id,
          webhooks: [webhook_id, actions]
        }
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby-lokalise-api-9.3.0 lib/ruby_lokalise_api/endpoints/webhooks_endpoint.rb
ruby-lokalise-api-9.2.1 lib/ruby_lokalise_api/endpoints/webhooks_endpoint.rb
ruby-lokalise-api-9.2.0 lib/ruby_lokalise_api/endpoints/webhooks_endpoint.rb
ruby-lokalise-api-9.0.1 lib/ruby_lokalise_api/endpoints/webhooks_endpoint.rb
ruby-lokalise-api-9.0.0 lib/ruby_lokalise_api/endpoints/webhooks_endpoint.rb
ruby-lokalise-api-8.0.1 lib/ruby_lokalise_api/endpoints/webhooks_endpoint.rb
ruby-lokalise-api-8.0.0 lib/ruby_lokalise_api/endpoints/webhooks_endpoint.rb
ruby-lokalise-api-8.0.0.rc1 lib/ruby_lokalise_api/endpoints/webhooks_endpoint.rb