.rubocop.yml 🔗
@@ -3,6 +3,8 @@ AllCops:
NewCops: enable
Metrics/ClassLength:
+ CountAsOne:
+ - heredoc
Exclude:
- test/*
Stephen Paul Weber created
.rubocop.yml | 2 ++
lib/customer_repo.rb | 5 +++++
2 files changed, 7 insertions(+)
@@ -3,6 +3,8 @@ AllCops:
NewCops: enable
Metrics/ClassLength:
+ CountAsOne:
+ - heredoc
Exclude:
- test/*
@@ -74,6 +74,11 @@ class CustomerRepo
@sgx_repo.put_fwd(customer.customer_id, tel, customer_fwd)
end
+ def put_monthly_overage_limit(customer, limit)
+ k = "jmp_customer_monthly_overage_limit-#{customer.customer_id}"
+ @redis.put(k, limit)
+ end
+
protected
def new_sgx(customer_id)