Class: Amazon::DatadiveImportParser::Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



24
25
26
# File 'app/services/amazon/datadive_import_parser.rb', line 24

def data
  @data
end

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



24
25
26
# File 'app/services/amazon/datadive_import_parser.rb', line 24

def error
  @error
end

#successObject

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



24
25
26
# File 'app/services/amazon/datadive_import_parser.rb', line 24

def success
  @success
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


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

def success?
  success
end