Class: Rufio::FileOperations::OperationResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/rufio/file_operations.rb

Overview

Operation result structure

Returns:

  • (Hash)

    { success: Boolean, message: String, count: Integer }

Instance Attribute Summary collapse

Instance Attribute Details

#countObject

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



10
11
12
# File 'lib/rufio/file_operations.rb', line 10

def count
  @count
end

#errorsObject

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



10
11
12
# File 'lib/rufio/file_operations.rb', line 10

def errors
  @errors
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



10
11
12
# File 'lib/rufio/file_operations.rb', line 10

def message
  @message
end

#successObject

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



10
11
12
# File 'lib/rufio/file_operations.rb', line 10

def success
  @success
end