class ViewModel::Migration::OneWayError
Attributes
direction[R]
vm_name[R]
Public Class Methods
new(vm_name, direction)
click to toggle source
Calls superclass method
ViewModel::AbstractError::new
# File lib/view_model/migration/one_way_error.rb, line 9 def initialize(vm_name, direction) @vm_name = vm_name @direction = direction super() end
Public Instance Methods
detail()
click to toggle source
# File lib/view_model/migration/one_way_error.rb, line 15 def detail "One way migration for #{vm_name} cannot be migrated #{direction}" end
meta()
click to toggle source
# File lib/view_model/migration/one_way_error.rb, line 19 def meta { viewmodel: vm_name, direction: direction, } end