Class: ChatSDK::Cards::FieldsContext
- Inherits:
-
Object
- Object
- ChatSDK::Cards::FieldsContext
- Defined in:
- lib/chat_sdk/cards/fields_context.rb
Instance Attribute Summary collapse
-
#nodes ⇒ Object
readonly
Returns the value of attribute nodes.
Instance Method Summary collapse
- #field(label, value) ⇒ Object
-
#initialize ⇒ FieldsContext
constructor
A new instance of FieldsContext.
Constructor Details
#initialize ⇒ FieldsContext
Returns a new instance of FieldsContext.
8 9 10 |
# File 'lib/chat_sdk/cards/fields_context.rb', line 8 def initialize @nodes = [] end |
Instance Attribute Details
#nodes ⇒ Object (readonly)
Returns the value of attribute nodes.
6 7 8 |
# File 'lib/chat_sdk/cards/fields_context.rb', line 6 def nodes @nodes end |