class CIMI::Model::ValidationError

Public Class Methods

new(attr_list, format) click to toggle source
# File lib/cimi/models/base.rb, line 94
def initialize(attr_list, format)
  @lst = attr_list
  super("Required attributes not set: #{name}")
end

Public Instance Methods

code() click to toggle source

Report the ValidationError as HTTP 400 - Bad Request

# File lib/cimi/models/base.rb, line 100
def code
  400
end
name() click to toggle source
# File lib/cimi/models/base.rb, line 104
def name
  @lst.join(',')
end