Permalink
Browse files

WHISTLE-788: updated fetching values

  • Loading branch information...
1 parent ce78a86 commit 365e5fbd2d12efeee4582e27de7181a3564da85d James Aimonetti committed Feb 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/whistle-1.0.0/src/api/wapi_money.erl
@@ -206,7 +206,7 @@ units_to_dollars(Units) when is_integer(Units) ->
%% How much to charge a per_min call at the outset
-spec default_per_min_charge/0 :: () -> pos_integer().
default_per_min_charge() ->
- whapps_config:get_float(?MODULE, <<"default_per_min_charge">>, 0.5) * ?DOLLAR_TO_UNIT. % $0.50 default removed
+ dollars_to_units(whapps_config:get_float(?MODULE, <<"default_per_min_charge">>, 0.5)). % $0.50 default removed
-spec base_call_cost/3 :: (float() | integer(), integer(), float() | integer()) -> float().
base_call_cost(RateCost, RateMin, RateSurcharge) when is_number(RateCost),

0 comments on commit 365e5fb

Please sign in to comment.