Class: Accession::NullResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/accession/accession/null_response.rb

Overview

A null respons will be returned if accessioning errors.

Instance Method Summary collapse

Instance Method Details

#accessioned?Boolean

Returns:

  • (Boolean)

12
13
14
# File 'lib/accession/accession/null_response.rb', line 12

def accessioned?
  false
end

#faliure?Boolean

Returns:

  • (Boolean)

4
5
6
# File 'lib/accession/accession/null_response.rb', line 4

def faliure?
  true
end

#success?Boolean

Returns:

  • (Boolean)

8
9
10
# File 'lib/accession/accession/null_response.rb', line 8

def success?
  false
end