class JSONError::Errors::DisallowedPropertySetting
Public Class Methods
new(options = {})
click to toggle source
Calls superclass method
# File lib/json_error/errors/disallowed_property_setting.rb, line 4 def initialize(options = {}) property = options.fetch(:property) klass = options.fetch(:class) super("Setting #{property} property is disallowed for #{klass}.") end