Class: KapsoClientRuby::Types::FlowData
- Inherits:
-
FlowResponse
- Object
- FlowResponse
- KapsoClientRuby::Types::FlowData
- Defined in:
- lib/kapso_client_ruby/types.rb
Instance Attribute Summary collapse
-
#application ⇒ Object
readonly
Returns the value of attribute application.
-
#endpoint_uri ⇒ Object
readonly
Returns the value of attribute endpoint_uri.
-
#preview ⇒ Object
readonly
Returns the value of attribute preview.
-
#whatsapp_business_account ⇒ Object
readonly
Returns the value of attribute whatsapp_business_account.
Attributes inherited from FlowResponse
#categories, #id, #json_version, #name, #status, #validation_errors
Instance Method Summary collapse
-
#initialize(data) ⇒ FlowData
constructor
A new instance of FlowData.
Constructor Details
#initialize(data) ⇒ FlowData
Returns a new instance of FlowData.
244 245 246 247 248 249 250 |
# File 'lib/kapso_client_ruby/types.rb', line 244 def initialize(data) super(data) @endpoint_uri = data['endpoint_uri'] @preview = data['preview'] @whatsapp_business_account = data['whatsapp_business_account'] @application = data['application'] end |
Instance Attribute Details
#application ⇒ Object (readonly)
Returns the value of attribute application.
242 243 244 |
# File 'lib/kapso_client_ruby/types.rb', line 242 def application @application end |
#endpoint_uri ⇒ Object (readonly)
Returns the value of attribute endpoint_uri.
242 243 244 |
# File 'lib/kapso_client_ruby/types.rb', line 242 def endpoint_uri @endpoint_uri end |
#preview ⇒ Object (readonly)
Returns the value of attribute preview.
242 243 244 |
# File 'lib/kapso_client_ruby/types.rb', line 242 def preview @preview end |
#whatsapp_business_account ⇒ Object (readonly)
Returns the value of attribute whatsapp_business_account.
242 243 244 |
# File 'lib/kapso_client_ruby/types.rb', line 242 def whatsapp_business_account @whatsapp_business_account end |