Class: Journaled::KinesisBatchSender::FailedEvent

Inherits:
Struct
  • Object
show all
Defined in:
lib/journaled/kinesis_batch_sender.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#error_codeObject

Returns the value of attribute error_code

Returns:

  • (Object)

    the current value of error_code



13
14
15
# File 'lib/journaled/kinesis_batch_sender.rb', line 13

def error_code
  @error_code
end

#error_messageObject

Returns the value of attribute error_message

Returns:

  • (Object)

    the current value of error_message



13
14
15
# File 'lib/journaled/kinesis_batch_sender.rb', line 13

def error_message
  @error_message
end

#eventObject

Returns the value of attribute event

Returns:

  • (Object)

    the current value of event



13
14
15
# File 'lib/journaled/kinesis_batch_sender.rb', line 13

def event
  @event
end

#transientObject

Returns the value of attribute transient

Returns:

  • (Object)

    the current value of transient



13
14
15
# File 'lib/journaled/kinesis_batch_sender.rb', line 13

def transient
  @transient
end

Instance Method Details

#permanent?Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/journaled/kinesis_batch_sender.rb', line 18

def permanent?
  !transient
end

#transient?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/journaled/kinesis_batch_sender.rb', line 14

def transient?
  transient
end