Sha256: 077cca6f6625042b2e9c8dd20304c2fe180847ce3170b705db4f0a0697e83b55
Contents?: true
Size: 530 Bytes
Versions: 54
Compression:
Stored size: 530 Bytes
Contents
module Recurly module Webhook # The Notification class provides a generic interface # for account-related webhook notifications. class Notification < Resource # Provides a convenience method to reload assocated members because Webhook # notifications are not to be considered current. def self.has_one member_name, options = {} define_method("#{member_name}!") do member = self[member_name] member.reload if member end super end end end end
Version data entries
54 entries across 54 versions & 1 rubygems