Sha256: 864c9fdc759c160fc02b190f3f44d1e3a3d5d6a662225c6193389872ddf75bf7
Contents?: true
Size: 330 Bytes
Versions: 11
Compression:
Stored size: 330 Bytes
Contents
module Bunq class Card def initialize(parent_resource, id) @resource = parent_resource.append("/card/#{id}") end def show @resource.with_session { @resource.get }['Response'] end def update(card) @resource.with_session { @resource.put(card, encrypt: true) }['Response'] end end end
Version data entries
11 entries across 11 versions & 1 rubygems