Skip to content

Commit

Permalink
Merge pull request #1387 from alphagov/remote-sync-doc
Browse files Browse the repository at this point in the history
Update RemoteSynchronizable documentation
  • Loading branch information
jackbot authored Feb 21, 2025
2 parents d8222b8 + 0e631a3 commit dba3549
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/concerns/remote_synchronizable.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Enhances a model with lifecycle callbacks to synchronise it with a remote resource using a client
# Enhances a model with methods to synchronise it with a remote resource using a client
# class (conventionally located in `app/clients/`).
#
# Example:
# ```ruby
# class Foo < ApplicationRecord
# include RemoteSynchronizable
# remote_synchronize with: BarApi::FooClient
# self.remote_synchronizable_client_class = BarApi::FooClient
# end
# ```
#
Expand Down

0 comments on commit dba3549

Please sign in to comment.