Skip to content

Commit

Permalink
Change param names in defdelegates for better readability
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamingechoes committed Jul 28, 2017
1 parent ad52cb4 commit 83a0d7a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/paper_trail.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ defmodule PaperTrail do
@originator @client.originator()
@repo @client.repo()

defdelegate get_version(a), to: PaperTrail.VersionQueries
defdelegate get_version(a, b), to: PaperTrail.VersionQueries
defdelegate get_version(a, b, c), to: PaperTrail.VersionQueries
defdelegate get_versions(a), to: PaperTrail.VersionQueries
defdelegate get_versions(a, b), to: PaperTrail.VersionQueries
defdelegate get_versions(a, b, c), to: PaperTrail.VersionQueries
defdelegate get_version(record), to: PaperTrail.VersionQueries
defdelegate get_version(model_or_record, id_or_options), to: PaperTrail.VersionQueries
defdelegate get_version(model, id, options), to: PaperTrail.VersionQueries
defdelegate get_versions(record), to: PaperTrail.VersionQueries
defdelegate get_versions(model_or_record, id_or_options), to: PaperTrail.VersionQueries
defdelegate get_versions(model, id, options), to: PaperTrail.VersionQueries
defdelegate get_current_model(version), to: PaperTrail.VersionQueries

@doc """
Expand Down

0 comments on commit 83a0d7a

Please sign in to comment.