class Saorin::Test::Handler

Public Instance Methods

get_data() click to toggle source
# File lib/saorin/test.rb, line 34
def get_data
  ['hello', 5]
end
identity(value) click to toggle source
# File lib/saorin/test.rb, line 10
def identity(value)
  value
end
notify_hello(a) click to toggle source
# File lib/saorin/test.rb, line 30
def notify_hello(a)
  'OK'
end
notify_sum(a, b, c) click to toggle source
# File lib/saorin/test.rb, line 38
def notify_sum(a, b, c)
  a + b + c
end
subtract1(a, b) click to toggle source
# File lib/saorin/test.rb, line 14
def subtract1(a, b)
  a - b
end
subtract2(options) click to toggle source
# File lib/saorin/test.rb, line 18
def subtract2(options)
  options['minuend'] - options['subtrahend']
end
sum(a, b, c) click to toggle source
# File lib/saorin/test.rb, line 26
def sum(a, b, c)
  a + b + c
end
update(a, b, c, d, e) click to toggle source
# File lib/saorin/test.rb, line 22
def update(a, b, c, d, e)
  'OK'
end