Exception: Parliament::NoContentError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/parliament/no_content_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeNoContentError


5
6
7
# File 'lib/parliament/no_content_error.rb', line 5

def initialize
  @message = 'No content'
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message


3
4
5
# File 'lib/parliament/no_content_error.rb', line 3

def message
  @message
end