class PortaText::Command::Api::Recharge
The recharge endpoint. github.com/PortaText/docs/wiki/REST-API#api_recharge
- Author
-
Marcelo Gornstein (marcelog@portatext.com)
- Copyright
-
Copyright © 2015
PortaText
- License
-
Apache-2.0
Public Instance Methods
endpoint(_method)
click to toggle source
# File lib/portatext/command/api/recharge.rb, line 19 def endpoint(_method) 'recharge' end
total(total)
click to toggle source
# File lib/portatext/command/api/recharge.rb, line 15 def total(total) set :total, total end
with_card(card_id)
click to toggle source
# File lib/portatext/command/api/recharge.rb, line 11 def with_card(card_id) set :card_id, card_id end