Class: CardTransition::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/card_transition.rb

Instance Attribute Summary collapse

Instance Attribute Details

#cardObject (readonly)

Returns the value of attribute card

Returns:

  • (Object)

    the current value of card



6
7
8
# File 'app/services/card_transition.rb', line 6

def card
  @card
end

#errorObject (readonly)

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



6
7
8
# File 'app/services/card_transition.rb', line 6

def error
  @error
end

#success?Object (readonly)

Returns the value of attribute success?

Returns:

  • (Object)

    the current value of success?



6
7
8
# File 'app/services/card_transition.rb', line 6

def success?
  @success?
end