Class: Condux::SendResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/condux/send_result.rb

Overview

Outcome of a delivery attempt sequence. Never raised — inspect #ok.

Instance Attribute Summary collapse

Instance Attribute Details

#attemptsObject

Returns the value of attribute attempts

Returns:

  • (Object)

    the current value of attempts



5
6
7
# File 'lib/condux/send_result.rb', line 5

def attempts
  @attempts
end

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



5
6
7
# File 'lib/condux/send_result.rb', line 5

def error
  @error
end

#okObject

Returns the value of attribute ok

Returns:

  • (Object)

    the current value of ok



5
6
7
# File 'lib/condux/send_result.rb', line 5

def ok
  @ok
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



5
6
7
# File 'lib/condux/send_result.rb', line 5

def status
  @status
end