Class: Spikard::GraphQLSubscriptionSnapshot
- Inherits:
-
Object
- Object
- Spikard::GraphQLSubscriptionSnapshot
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#acknowledged ⇒ Boolean
readonly
Returns the value of attribute acknowledged.
-
#complete_received ⇒ Boolean
readonly
Returns the value of attribute complete_received.
-
#errors ⇒ Array[json_value]
readonly
Returns the value of attribute errors.
-
#event ⇒ json_value
readonly
Returns the value of attribute event.
-
#operation_id ⇒ String
readonly
Returns the value of attribute operation_id.
Instance Method Summary collapse
-
#initialize ⇒ GraphQLSubscriptionSnapshot
constructor
A new instance of GraphQLSubscriptionSnapshot.
Constructor Details
#initialize ⇒ GraphQLSubscriptionSnapshot
Returns a new instance of GraphQLSubscriptionSnapshot.
407 |
# File 'sig/types.rbs', line 407
def initialize: (operation_id: String, acknowledged: bool, ?event: json_value, errors: Array[json_value], complete_received: bool) -> void
|
Instance Attribute Details
#acknowledged ⇒ Boolean (readonly)
Returns the value of attribute acknowledged.
402 403 404 |
# File 'sig/types.rbs', line 402 def acknowledged @acknowledged end |
#complete_received ⇒ Boolean (readonly)
Returns the value of attribute complete_received.
405 406 407 |
# File 'sig/types.rbs', line 405 def complete_received @complete_received end |
#errors ⇒ Array[json_value] (readonly)
Returns the value of attribute errors.
404 405 406 |
# File 'sig/types.rbs', line 404 def errors @errors end |
#event ⇒ json_value (readonly)
Returns the value of attribute event.
403 404 405 |
# File 'sig/types.rbs', line 403 def event @event end |
#operation_id ⇒ String (readonly)
Returns the value of attribute operation_id.
401 402 403 |
# File 'sig/types.rbs', line 401 def operation_id @operation_id end |