Class: KapsoClientRuby::Types::FlowPreviewResponse
- Inherits:
-
Object
- Object
- KapsoClientRuby::Types::FlowPreviewResponse
- Defined in:
- lib/kapso_client_ruby/types.rb
Instance Attribute Summary collapse
-
#expires_at ⇒ Object
readonly
Returns the value of attribute expires_at.
-
#preview_url ⇒ Object
readonly
Returns the value of attribute preview_url.
Instance Method Summary collapse
-
#initialize(data) ⇒ FlowPreviewResponse
constructor
A new instance of FlowPreviewResponse.
Constructor Details
#initialize(data) ⇒ FlowPreviewResponse
Returns a new instance of FlowPreviewResponse.
273 274 275 276 277 |
# File 'lib/kapso_client_ruby/types.rb', line 273 def initialize(data) preview_data = data['preview'] || {} @preview_url = preview_data['preview_url'] @expires_at = preview_data['expires_at'] end |
Instance Attribute Details
#expires_at ⇒ Object (readonly)
Returns the value of attribute expires_at.
271 272 273 |
# File 'lib/kapso_client_ruby/types.rb', line 271 def expires_at @expires_at end |
#preview_url ⇒ Object (readonly)
Returns the value of attribute preview_url.
271 272 273 |
# File 'lib/kapso_client_ruby/types.rb', line 271 def preview_url @preview_url end |