Sha256: 2e1375970e0d316d95f9b4a10cadcd8dedd6c41e7634bd28dc13d0fe3c6190e0
Contents?: true
Size: 318 Bytes
Versions: 30
Compression:
Stored size: 318 Bytes
Contents
module Cobrato module Resources class CreditCard < Base crud :show, :create, :list, :update def charges(id, params={}) http.get("#{resource_base_path}/#{id}/charges", params: params) do |response| respond_with_collection(response, "Charge") end end end end end
Version data entries
30 entries across 30 versions & 1 rubygems