Sha256: ce168013590f94e949634ab4ee22e3ec42dc14d9e613589687392c2bcc413ba8
Contents?: true
Size: 351 Bytes
Versions: 4
Compression:
Stored size: 351 Bytes
Contents
module DiscountNetwork class Activation < Base def find(token) DiscountNetwork.get_resource( ["account", "activation", token].join("/"), ).user end def activate(token, attributes) DiscountNetwork.put_resource( ["account", "activation", token].join("/"), user: attributes ).user end end end
Version data entries
4 entries across 4 versions & 1 rubygems