mirror of
https://github.com/internetee/registry.git
synced 2025-06-12 15:44:45 +02:00
Fix rubocop issues
This commit is contained in:
parent
b4b404888b
commit
0ea1045259
1 changed files with 3 additions and 3 deletions
|
@ -28,8 +28,8 @@ class Deposit
|
|||
end
|
||||
|
||||
def amount
|
||||
return BigDecimal.new('0.0') if @amount.blank?
|
||||
BigDecimal.new(@amount, 10)
|
||||
return BigDecimal('0.0') if @amount.blank?
|
||||
BigDecimal(@amount, 10)
|
||||
end
|
||||
|
||||
def issue_prepayment_invoice
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue