class Sendle::Api::Errors::InvalidPlan

Public Class Methods

new(plan) click to toggle source
# File lib/sendle/api/errors/invalid_plan.rb, line 5
def initialize(plan)
  @plan = plan
end

Public Instance Methods

to_s() click to toggle source
# File lib/sendle/api/errors/invalid_plan.rb, line 9
def to_s
  "#{@plan} is not in the list of valid plans: #{PLANS.join(', ')}"
end