Class: SpreeCmCommissioner::CurrencyRates::Manage::Response

Inherits:
Struct
  • Object
show all
Defined in:
app/services/spree_cm_commissioner/currency_rates/manage.rb

Instance Attribute Summary collapse

Instance Attribute Details

#currency_rateObject

Returns the value of attribute currency_rate

Returns:

  • (Object)

    the current value of currency_rate



21
22
23
# File 'app/services/spree_cm_commissioner/currency_rates/manage.rb', line 21

def currency_rate
  @currency_rate
end

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



21
22
23
# File 'app/services/spree_cm_commissioner/currency_rates/manage.rb', line 21

def error
  @error
end

#success?Object

Returns the value of attribute success?

Returns:

  • (Object)

    the current value of success?



21
22
23
# File 'app/services/spree_cm_commissioner/currency_rates/manage.rb', line 21

def success?
  @success?
end