Class: AceMQ::AMQP::Patterns::SchemaDefinition
- Inherits:
-
Struct
- Object
- Struct
- AceMQ::AMQP::Patterns::SchemaDefinition
- Defined in:
- lib/acemq/amqp/patterns/schema.rb
Overview
One version of a message's shape.
Instance Attribute Summary collapse
-
#definition ⇒ Object
Returns the value of attribute definition.
-
#fingerprint ⇒ Object
Returns the value of attribute fingerprint.
-
#format ⇒ Object
Returns the value of attribute format.
-
#id ⇒ Object
Returns the value of attribute id.
-
#registered_at ⇒ Object
Returns the value of attribute registered_at.
-
#subject ⇒ Object
Returns the value of attribute subject.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
Instance Attribute Details
#definition ⇒ Object
Returns the value of attribute definition
38 39 40 |
# File 'lib/acemq/amqp/patterns/schema.rb', line 38 def definition @definition end |
#fingerprint ⇒ Object
Returns the value of attribute fingerprint
38 39 40 |
# File 'lib/acemq/amqp/patterns/schema.rb', line 38 def fingerprint @fingerprint end |
#format ⇒ Object
Returns the value of attribute format
38 39 40 |
# File 'lib/acemq/amqp/patterns/schema.rb', line 38 def format @format end |
#id ⇒ Object
Returns the value of attribute id
38 39 40 |
# File 'lib/acemq/amqp/patterns/schema.rb', line 38 def id @id end |
#registered_at ⇒ Object
Returns the value of attribute registered_at
38 39 40 |
# File 'lib/acemq/amqp/patterns/schema.rb', line 38 def registered_at @registered_at end |
#subject ⇒ Object
Returns the value of attribute subject
38 39 40 |
# File 'lib/acemq/amqp/patterns/schema.rb', line 38 def subject @subject end |
#version ⇒ Object
Returns the value of attribute version
38 39 40 |
# File 'lib/acemq/amqp/patterns/schema.rb', line 38 def version @version end |
Instance Method Details
#to_s ⇒ Object
42 |
# File 'lib/acemq/amqp/patterns/schema.rb', line 42 def to_s = "#{subject} v#{version} (#{format}, id #{id})" |