README.md in u-service-0.8.0 vs README.md in u-service-0.9.0
- old
+ new
@@ -156,11 +156,11 @@
class Double < Micro::Service::Strict
attribute :numbers
def call!
- Success(numbers.map { |number| number * number })
+ Success(numbers.map { |number| number * 2 })
end
end
end
Add2ToAllNumbers = Micro::Service::Pipeline[
@@ -193,10 +193,10 @@
```ruby
class Double < Micro::Service::Strict
attribute :numbers
def call!
- Success(numbers.map { |number| number * number })
+ Success(numbers.map { |number| number * 2 })
end
end
Double.call({})