Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

WHISTLE-788: updated fetching values

  • Loading branch information...
commit 365e5fbd2d12efeee4582e27de7181a3564da85d 1 parent ce78a86
@jamesaimonetti jamesaimonetti authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/whistle-1.0.0/src/api/wapi_money.erl
View
2  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),
Please sign in to comment.
Something went wrong with that request. Please try again.