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.



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_builderObject (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