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)

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

def accessioned?
  false
end

#faliure?Boolean

Returns:

  • (Boolean)

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

def faliure?
  true
end

#success?Boolean

Returns:

  • (Boolean)

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

def success?
  false
end