Class: DatagroutConduit::Transport::Ws::SubscriptionEvent

Inherits:
Struct
  • Object
show all
Defined in:
lib/datagrout_conduit/transport/ws.rb

Overview

Value object for a push notification delivered to a subscription.

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



105
106
107
# File 'lib/datagrout_conduit/transport/ws.rb', line 105

def data
  @data
end

#eventObject

Returns the value of attribute event

Returns:

  • (Object)

    the current value of event



105
106
107
# File 'lib/datagrout_conduit/transport/ws.rb', line 105

def event
  @event
end

#subscriptionObject

Returns the value of attribute subscription

Returns:

  • (Object)

    the current value of subscription



105
106
107
# File 'lib/datagrout_conduit/transport/ws.rb', line 105

def subscription
  @subscription
end