Sha256: 454c9dd5c43cfb20e6d09414b0a41443a7e24349c0e8c91e34603f830afe782f

Contents?: true

Size: 431 Bytes

Versions: 1

Compression:

Stored size: 431 Bytes

Contents

module Bitmovin::Webhooks
  class EncodingErrorWebhook < WebhookResource
    init 'notifications/webhooks/encoding/encodings/error'
    def initialize(encoding_id, hash = {})
      if encoding_id.kind_of?(String)
        @encoding_id = encoding_id
        self.class.init("notifications/webhooks/encoding/encodings/#{encoding_id}/error")
      else
        hash = encoding_id
      end
      init_from_hash(hash)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bitmovin-ruby-0.5.0 lib/bitmovin/webhooks/encoding_error_webhook.rb