Class: Actions::ProxyAction::CallbackData

Inherits:
Object
  • Object
show all
Defined in:
app/lib/actions/proxy_action.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data, meta = {}) ⇒ CallbackData

Returns a new instance of CallbackData.



13
14
15
16
# File 'app/lib/actions/proxy_action.rb', line 13

def initialize(data, meta = {})
  @data = data
  @meta = meta
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



11
12
13
# File 'app/lib/actions/proxy_action.rb', line 11

def data
  @data
end

#metaObject (readonly)

Returns the value of attribute meta.



11
12
13
# File 'app/lib/actions/proxy_action.rb', line 11

def meta
  @meta
end