Skip to content

Commit 8d8a93b

Browse files
committed
update Readme
1 parent 001e9ca commit 8d8a93b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ $moesif_middleware = Moesif::MoesifAwsMiddleware.new(method(:your_original_handl
4343

4444
### 2. create a wrapped handler and set AWS lambda to use this.
4545

46-
```Ruby
46+
47+
```ruby
4748
def wrapped_handler(event:, context:)
4849
$moesif_middleware.handle(event: event, context: context);
4950
end
@@ -143,7 +144,8 @@ moesif_options['mask_data'] = Proc.new { |event_model|
143144

144145
```
145146

146-
For details for the spec of moesif event model, please see the [moesifapi-ruby](https://github.com/Moesif/moesifapi-ruby)
147+
For details for the spec of moesif event model, please see the [moesifapi-ruby](https://github.com/Moesif/moesifapi-ruby) or [Moesif Ruby API Documentation](https://www.moesif.com/docs/api?ruby)
148+
147149

148150
#### __`skip`__
149151

@@ -163,7 +165,6 @@ moesif_options['skip'] = Proc.new { |event, context, result|
163165

164166
```
165167

166-
For details for the spec of event model, please see the [Moesif Ruby API Documentation](https://www.moesif.com/docs/api?ruby)
167168

168169

169170
#### __`debug`__
@@ -214,4 +215,4 @@ $LOAD_PATH.unshift(*load_paths)
214215

215216
[link-built-for]: https://aws.amazon.com/lambda/
216217
[link-license]: https://raw.githubusercontent.com/Moesif/moesif-aws-lambda-ruby/master/LICENSE
217-
[link-source]: https://github.com/moesif/moesif-aws-lambda-python
218+
[link-source]: https://github.com/moesif/moesif-aws-lambda-ruby

0 commit comments

Comments
 (0)