Class: ActionComponent::Component::ViewModel

Inherits:
Object
  • Object
show all
Includes:
ImporterHelper
Defined in:
lib/actioncomponent/component/view_model.rb

Instance Method Summary collapse

Methods included from ImporterHelper

#create_component, #import_action_component

Constructor Details

#initialize(**args) ⇒ ViewModel

Returns a new instance of ViewModel.



7
8
9
# File 'lib/actioncomponent/component/view_model.rb', line 7

def initialize(**args)
  generate_methods_from_hash(args)
end