Sha256: 087e2c1013acf7bd2cc346e90239b5ed2152d54ebcd3a7693f371f3ac1f4aaae
Contents?: true
Size: 413 Bytes
Versions: 14
Compression:
Stored size: 413 Bytes
Contents
module Access class Redeem include Access::MuchMeta def self.redeem_offer(offer_key, redeem_type = nil, options = {}) Access::Api.new.redeem_offer offer_key, redeem_type, options end def self.process_batch(chunk) chunk.map { |redeem| new(redeem) } end def initialize(values) @used_fields = [] set_up_methods(values) set_values(values) end end end
Version data entries
14 entries across 14 versions & 1 rubygems