class Dennis::ValidationErrorDetail

Public Class Methods

new(hash) click to toggle source
# File lib/dennis/validation_error_detail.rb, line 6
def initialize(hash)
  @hash = hash
end

Public Instance Methods

attribute() click to toggle source
# File lib/dennis/validation_error_detail.rb, line 10
def attribute
  @hash['attribute']
end
message() click to toggle source
# File lib/dennis/validation_error_detail.rb, line 18
def message
  @hash['message']
end
type() click to toggle source
# File lib/dennis/validation_error_detail.rb, line 14
def type
  @hash['type']
end