Sha256: 3dc65717a785ce381360f03154d0cccf0e308c66be335e9d0d5905ae0e2c57e2
Contents?: true
Size: 568 Bytes
Versions: 46
Compression:
Stored size: 568 Bytes
Contents
module PortaText module Command module Api # The recharge endpoint. # https://github.com/PortaText/docs/wiki/REST-API#api_recharge # # Author:: Marcelo Gornstein (mailto:marcelog@portatext.com) # Copyright:: Copyright (c) 2015 PortaText # License:: Apache-2.0 class Recharge < Base def with_card(card_id) set :card_id, card_id end def total(total) set :total, total end def endpoint(_method) 'recharge' end end end end end
Version data entries
46 entries across 46 versions & 1 rubygems