class CreditOfficer::Base
Public Class Methods
new(attributes = {})
click to toggle source
# File lib/credit_officer/base.rb, line 9 def initialize(attributes = {}) end
Public Instance Methods
persisted?()
click to toggle source
# File lib/credit_officer/base.rb, line 17 def persisted? false end
to_key()
click to toggle source
# File lib/credit_officer/base.rb, line 21 def to_key nil end
to_model()
click to toggle source
# File lib/credit_officer/base.rb, line 13 def to_model self end
to_param()
click to toggle source
# File lib/credit_officer/base.rb, line 25 def to_param nil end
Protected Instance Methods
translate(key, options = {})
click to toggle source
# File lib/credit_officer/base.rb, line 30 def translate(key, options = {}) I18n.t key, options end