Skip to content

Commit

Permalink
Make sure full_module_name is set
Browse files Browse the repository at this point in the history
  • Loading branch information
azimux committed Mar 8, 2024
1 parent 7b6acd6 commit 2c323c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GIT
remote: foobara
revision: ec078ef1126bf4528242b2c8c242c78ef93ab566
revision: bed98da02523603da9278202fc01c01b4c24f00f
branch: main
specs:
foobara (0.0.1)
Expand Down
2 changes: 2 additions & 0 deletions src/domain_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ def initialize(attributes = nil, options = {})
end
end

full_module_name ||= [*organization_name, *domain_name].compact.join("::")

super(
{
domain_name:,
Expand Down

0 comments on commit 2c323c4

Please sign in to comment.