Module: RecordInvocation::Controls::Invocation

Defined in:
lib/record_invocation/controls/invocation.rb

Defined Under Namespace

Modules: MixedParameters, NoParameters

Class Method Summary collapse

Class Method Details

.exampleObject



4
5
6
7
8
9
10
11
12
# File 'lib/record_invocation/controls/invocation.rb', line 4

def self.example
  parameters = {}
  parameters[:some_parameter] = 1
  parameters[:some_other_parameter] = 11

  invocation = ::Invocation.new(method_name, parameters)

  invocation
end

.method_nameObject



14
15
16
# File 'lib/record_invocation/controls/invocation.rb', line 14

def self.method_name
  :some_method
end