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



97
98
99
# File 'lib/datagrout_conduit/transport/ws.rb', line 97

def data
  @data
end

#eventObject

Returns the value of attribute event

Returns:

  • (Object)

    the current value of event



97
98
99
# File 'lib/datagrout_conduit/transport/ws.rb', line 97

def event
  @event
end

#subscriptionObject

Returns the value of attribute subscription

Returns:

  • (Object)

    the current value of subscription



97
98
99
# File 'lib/datagrout_conduit/transport/ws.rb', line 97

def subscription
  @subscription
end