Class: FederalRegister::Client::ResponseError

Inherits:
HTTParty::ResponseError
  • Object
show all
Defined in:
lib/federal_register/client.rb

Direct Known Subclasses

BadRequest, RecordNotFound, ServerError

Instance Method Summary collapse

Instance Method Details

#messageObject



5
6
7
# File 'lib/federal_register/client.rb', line 5

def message
  response.body
end

#to_sObject



9
10
11
# File 'lib/federal_register/client.rb', line 9

def to_s
  message
end