Module: CloudEvents

Defined in:
lib/cloud_events.rb,
lib/cloud_events/event.rb,
lib/cloud_events/errors.rb,
lib/cloud_events/version.rb,
lib/cloud_events/event/v0.rb,
lib/cloud_events/event/v1.rb,
lib/cloud_events/json_format.rb,
lib/cloud_events/content_type.rb,
lib/cloud_events/http_binding.rb,
lib/cloud_events/event/field_interpreter.rb

Overview

CloudEvents implementation.

This is a Ruby implementation of the CloudEvents specification. It supports both CloudEvents 0.3 and CloudEvents 1.0.

Defined Under Namespace

Modules: Event Classes: AttributeError, CloudEventsError, ContentType, HttpBinding, HttpContentError, JsonFormat, SpecVersionError

Constant Summary collapse

VERSION =

Version of the Ruby CloudEvents SDK

Returns:

  • (String)
"0.1.2"

Class Method Summary collapse

Class Method Details

.supported_spec_versionsArray<String>

The spec versions supported by this implementation.

Returns:

  • (Array<String>)


27
28
29
# File 'lib/cloud_events.rb', line 27

def supported_spec_versions
  SUPPORTED_SPEC_VERSIONS
end