Exception: Fedora::MethodNotAllowed

Inherits:
ClientError show all
Defined in:
lib/fedora/connection.rb

Overview

405 Method Not Allowed

Instance Attribute Summary

Attributes inherited from ConnectionError

#response

Instance Method Summary collapse

Methods inherited from ConnectionError

#initialize, #to_s

Constructor Details

This class inherits a constructor from Fedora::ConnectionError

Instance Method Details

#allowed_methodsObject

:nodoc:



54
55
56
# File 'lib/fedora/connection.rb', line 54

def allowed_methods
  @response['Allow'].split(',').map { |verb| verb.strip.downcase.to_sym }
end