class Xeroizer::Record::Currency

Public Instance Methods

new_record?() click to toggle source

Currency does not have an ID This method overrides the base model to always treat a Currency as new (so it can be saved) Attempting to update a currency will result in a validation error.

# File lib/xeroizer/models/currency.rb, line 20
def new_record?
  true
end