Class: Nzbn::Models::ErrorField

Inherits:
Base
  • Object
show all
Defined in:
lib/nzbn/models/error_response.rb

Overview

Individual error field

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize, #to_h, #to_json

Constructor Details

This class inherits a constructor from Nzbn::Models::Base

Instance Attribute Details

#fieldObject

Returns the value of attribute field.



16
17
18
# File 'lib/nzbn/models/error_response.rb', line 16

def field
  @field
end

#messageObject

Returns the value of attribute message.



16
17
18
# File 'lib/nzbn/models/error_response.rb', line 16

def message
  @message
end