Class: Dor::Services::Client::UserVersion::Version

Inherits:
Struct
  • Object
show all
Defined in:
lib/dor/services/client/user_version.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#headObject

Returns the value of attribute head

Returns:

  • (Object)

    the current value of head



8
9
10
# File 'lib/dor/services/client/user_version.rb', line 8

def head
  @head
end

#restorableObject

Returns the value of attribute restorable

Returns:

  • (Object)

    the current value of restorable



8
9
10
# File 'lib/dor/services/client/user_version.rb', line 8

def restorable
  @restorable
end

#userVersionObject

Returns the value of attribute userVersion

Returns:

  • (Object)

    the current value of userVersion



8
9
10
# File 'lib/dor/services/client/user_version.rb', line 8

def userVersion
  @userVersion
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



8
9
10
# File 'lib/dor/services/client/user_version.rb', line 8

def version
  @version
end

#withdrawableObject

Returns the value of attribute withdrawable

Returns:

  • (Object)

    the current value of withdrawable



8
9
10
# File 'lib/dor/services/client/user_version.rb', line 8

def withdrawable
  @withdrawable
end

#withdrawnObject

Returns the value of attribute withdrawn

Returns:

  • (Object)

    the current value of withdrawn



8
9
10
# File 'lib/dor/services/client/user_version.rb', line 8

def withdrawn
  @withdrawn
end

Instance Method Details

#head?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/dor/services/client/user_version.rb', line 17

def head?
  head
end

#restorable?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/dor/services/client/user_version.rb', line 9

def restorable?
  restorable
end

#withdrawable?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/dor/services/client/user_version.rb', line 13

def withdrawable?
  withdrawable
end