Class: Vx::Aptly::Package::AddResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/vx/aptly/package.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



13
14
15
# File 'lib/vx/aptly/package.rb', line 13

def error
  @error
end

#noticeObject

Returns the value of attribute notice

Returns:

  • (Object)

    the current value of notice



13
14
15
# File 'lib/vx/aptly/package.rb', line 13

def notice
  @notice
end

Instance Method Details

#valid?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/vx/aptly/package.rb', line 14

def valid?
  !error
end