@@ -386,10 +386,6 @@ class Registration
end
end
- def self.bill?- true- end-
# @return [Float] The price of the number + activation fee
# @param [TelSelection::ChooseTel::Tn] tel The phone number to charge
def self.price(tel)
@@ -406,15 +402,11 @@ class Registration
yield @customer
end
- def self.bill?- false
+ def self.price(tel)
+ tel.price
end
end
- def self.price(tel)- tel.price- end-
class CreditCard
Payment.kinds[:credit_card] = ->(*args, **kw) { self.for(*args, **kw) }