Skip to content

Commit fdff717

Browse files
authored
fix documentation
1 parent f880222 commit fdff717

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## [Unreleased]
2-
- Add support for `Interactify.with(queue: 'within_30_seconds', retry: 3)`
2+
- Add support for `Interactify.with(self, queue: 'within_30_seconds', retry: 3)`
33

44
## [0.5.0] - 2024-01-01
55
- Add support for `SetA = Interactify { _1.a = 'a' }`, lambda and block class creation syntax

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ By using it's internal Async class.
471471
### Sidekiq options
472472
```ruby
473473
class SomeInteractor
474-
include Interactify.with(queue: 'within_30_seconds')
474+
include Interactify.with(self, queue: 'within_30_seconds')
475475
end
476476
```
477477

@@ -497,7 +497,7 @@ class SomeInteractor
497497
end
498498
```
499499

500-
Here the JobWithin30Seconds class is manually set up and overrides the one
500+
Here the JobWithin30Seconds class is manually set up and subclasses the one
501501
automatically created by `include Interactify`.
502502

503503
## FAQs

lib/interactify.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def included(base)
3434
# E.g.
3535
#
3636
# class ExampleInteractor
37-
# include Interactify.with(queue: 'within_30_seconds', retries: 3)
37+
# include Interactify.with(self, queue: 'within_30_seconds', retries: 3)
3838
#
3939
# expect :foo
4040
# end

0 commit comments

Comments
 (0)