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.



16
17
18
19
20
21
# File 'app/helpers/glib/json_ui/response_helper.rb', line 16

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.



14
15
16
# File 'app/helpers/glib/json_ui/response_helper.rb', line 14

def action_builder
  @action_builder
end