An endpoint that, when called, returns 'Not Found' for the resource at hand. Used to emulate lazily resolved endpoints when in fact, the lack of endpoint presence is already known.
Ignores any discovery result data if provided.
Methods
Instance Public methods
create( body_hash, query_hash = nil )
Link
Source: show
# File lib/hoodoo/client/endpoint/endpoints/not_found.rb, line 40 def create( body_hash, query_hash = nil ) return generate_404_response_for( :create ) end
delete( ident, query_hash = nil )
Link
Source: show
# File lib/hoodoo/client/endpoint/endpoints/not_found.rb, line 52 def delete( ident, query_hash = nil ) return generate_404_response_for( :delete ) end
list( query_hash = nil )
Link
Source: show
# File lib/hoodoo/client/endpoint/endpoints/not_found.rb, line 28 def list( query_hash = nil ) return generate_404_response_for( :list ) end
show( ident, query_hash = nil )
Link
Source: show
# File lib/hoodoo/client/endpoint/endpoints/not_found.rb, line 34 def show( ident, query_hash = nil ) return generate_404_response_for( :show ) end
update( ident, body_hash, query_hash = nil )
Link
Source: show
# File lib/hoodoo/client/endpoint/endpoints/not_found.rb, line 46 def update( ident, body_hash, query_hash = nil ) return generate_404_response_for( :update ) end
Instance Protected methods
configure_with( resource, version, options )
Link
See Hoodoo::Client::Endpoint#configure_with.
Does nothing in this subclass.
Source: show
# File lib/hoodoo/client/endpoint/endpoints/not_found.rb, line 21 def configure_with( resource, version, options ) end