Class: Glib::JsonUi::ResponseHelper::Response
- Inherits:
-
Object
- Object
- Glib::JsonUi::ResponseHelper::Response
- Defined in:
- app/helpers/glib/json_ui/response_helper.rb
Instance Attribute Summary collapse
-
#action_builder ⇒ Object
readonly
Returns the value of attribute action_builder.
Instance Method Summary collapse
-
#initialize(json, context) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(json, context) ⇒ Response
Returns a new instance of Response.
27 28 29 30 31 |
# File 'app/helpers/glib/json_ui/response_helper.rb', line 27 def initialize(json, context) @json = json @context = context @action_builder = ActionBuilder.new(json, self, false) end |
Instance Attribute Details
#action_builder ⇒ Object (readonly)
Returns the value of attribute action_builder.
25 26 27 |
# File 'app/helpers/glib/json_ui/response_helper.rb', line 25 def action_builder @action_builder end |