Sha256: b6570b8b6919cfdee475b4ed6bd71fc04d7c2b8719dcdc8f0c498be70b876f21
Contents?: true
Size: 415 Bytes
Versions: 4
Compression:
Stored size: 415 Bytes
Contents
# This error should be raised if a user attempts to subscribe to a item which # is not subscribable module SolidusSubscriptions class UnsubscribableError < StandardError def initialize(subscribable) @subscribable = subscribable super end def to_s <<-MSG.squish #{@subscribable.class} with id: #{@subscribable.id} cannot be subscribed to. MSG end end end
Version data entries
4 entries across 4 versions & 1 rubygems