Class: Glib::JsonUi::ResponseHelper::Response

Inherits:
Object
  • Object
show all
Defined in:
app/helpers/glib/json_ui/response_helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json, context) ⇒ Response

Returns a new instance of Response.



28
29
30
31
32
# File 'app/helpers/glib/json_ui/response_helper.rb', line 28

def initialize(json, context)
  @json = json
  @context = context
  @action_builder = ActionBuilder.new(json, self, false)
end

Instance Attribute Details

#action_builderObject (readonly)

Returns the value of attribute action_builder.



26
27
28
# File 'app/helpers/glib/json_ui/response_helper.rb', line 26

def action_builder
  @action_builder
end