Skip to content

Commit

Permalink
add Charge model + extend properties service to support new charge model
Browse files Browse the repository at this point in the history
  • Loading branch information
nudded committed Sep 20, 2024
1 parent 3d3b5b8 commit cbed9f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/services/charges/build_default_properties_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def call
when :percentage then default_percentage_properties
when :volume then default_volume_properties
when :graduated_percentage then default_graduated_percentage_properties
when :dynamic then default_dynamic_properties
end
end

Expand Down Expand Up @@ -77,5 +78,9 @@ def default_graduated_percentage_properties
]
}
end

def default_dynamic_properties
{}
end
end
end
Empty file.

0 comments on commit cbed9f3

Please sign in to comment.