Class: KapsoClientRuby::Types::FlowEventData
- Inherits:
-
Object
- Object
- KapsoClientRuby::Types::FlowEventData
- Defined in:
- lib/kapso_client_ruby/types.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#flow_token ⇒ Object
readonly
Returns the value of attribute flow_token.
-
#screen ⇒ Object
readonly
Returns the value of attribute screen.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(data) ⇒ FlowEventData
constructor
A new instance of FlowEventData.
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
#action ⇒ Object (readonly)
Returns the value of attribute action.
281 282 283 |
# File 'lib/kapso_client_ruby/types.rb', line 281 def action @action end |
#data ⇒ Object (readonly)
Returns the value of attribute data.
281 282 283 |
# File 'lib/kapso_client_ruby/types.rb', line 281 def data @data end |
#flow_token ⇒ Object (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 |
#screen ⇒ Object (readonly)
Returns the value of attribute screen.
281 282 283 |
# File 'lib/kapso_client_ruby/types.rb', line 281 def screen @screen end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
281 282 283 |
# File 'lib/kapso_client_ruby/types.rb', line 281 def version @version end |