Class: Amazon::DatadiveImportParser::Result

Inherits:
Struct
  • Object
show all
Defined in:
app/services/amazon/datadive_import_parser.rb

Overview

Service object: result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#data ⇒ Object

Returns the value of attribute data

Returns:

  • (Object) —

    the current value of data



26
27
28
# File 'app/services/amazon/datadive_import_parser.rb', line 26

def data
  @data
end

#error ⇒ Object

Returns the value of attribute error

Returns:

  • (Object) —

    the current value of error



26
27
28
# File 'app/services/amazon/datadive_import_parser.rb', line 26

def error
  @error
end

#success ⇒ Object

Returns the value of attribute success

Returns:

  • (Object) —

    the current value of success



26
27
28
# File 'app/services/amazon/datadive_import_parser.rb', line 26

def success
  @success
end

Instance Method Details

#success? ⇒ Boolean

Returns:

  • (Boolean)


27
28
29
# File 'app/services/amazon/datadive_import_parser.rb', line 27

def success?
  success
end