lib/portatext/command/api/recharge.rb in portatext-1.0.0 vs lib/portatext/command/api/recharge.rb in portatext-1.1.0
- old
+ new
@@ -10,11 +10,10 @@
class Recharge < Base
def with_card(card_id)
set :card_id, card_id
end
- def total(plan_id, total)
- set :plan_id, plan_id
+ def total(total)
set :total, total
end
def endpoint(_method)
'recharge'