Class: KapsoClientRuby::Types::FlowEventData

Inherits:
Object
  • Object
show all
Defined in:
lib/kapso_client_ruby/types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ FlowEventData

Returns a new instance of FlowEventData.



283
284
285
286
287
288
289
# File 'lib/kapso_client_ruby/types.rb', line 283

def initialize(data)
  @version = data['version']
  @screen = data['screen']
  @data = data['data'] || {}
  @flow_token = data['flow_token']
  @action = data['action']
end

Instance Attribute Details

#actionObject (readonly)

Returns the value of attribute action.



281
282
283
# File 'lib/kapso_client_ruby/types.rb', line 281

def action
  @action
end

#dataObject (readonly)

Returns the value of attribute data.



281
282
283
# File 'lib/kapso_client_ruby/types.rb', line 281

def data
  @data
end

#flow_tokenObject (readonly)

Returns the value of attribute flow_token.



281
282
283
# File 'lib/kapso_client_ruby/types.rb', line 281

def flow_token
  @flow_token
end

#screenObject (readonly)

Returns the value of attribute screen.



281
282
283
# File 'lib/kapso_client_ruby/types.rb', line 281

def screen
  @screen
end

#versionObject (readonly)

Returns the value of attribute version.



281
282
283
# File 'lib/kapso_client_ruby/types.rb', line 281

def version
  @version
end