Class: Acw::Helpers::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/acw/helpers.rb

Instance Attribute Summary collapse

Instance Attribute Details

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



3
4
5
# File 'lib/acw/helpers.rb', line 3

def error
  @error
end

#success?Object

Returns the value of attribute success?

Returns:

  • (Object)

    the current value of success?



3
4
5
# File 'lib/acw/helpers.rb', line 3

def success?
  @success?
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



3
4
5
# File 'lib/acw/helpers.rb', line 3

def value
  @value
end