Sha256: 46d0001528a8246293811386ccc86ef7104f0f5cb540dc4589c4f49f97d02a2a
Contents?: true
Size: 283 Bytes
Versions: 3
Compression:
Stored size: 283 Bytes
Contents
module Sendle module Api module Errors class InvalidPlan < StandardError def initialize(plan) @plan = plan end def to_s "#{@plan} is not in the list of valid plans: #{PLANS.join(', ')}" end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sendle-api-0.0.13 | lib/sendle/api/errors/invalid_plan.rb |
sendle-api-0.0.12 | lib/sendle/api/errors/invalid_plan.rb |
sendle-api-0.0.11 | lib/sendle/api/errors/invalid_plan.rb |