Class: DaisybillApi::Models::Base

Inherits:
Object
  • Object
show all
Extended by:
Ext
Includes:
ActiveModel::Naming, ActiveModel::Validations
Defined in:
lib/daisybill_api/models/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Ext

extended

Constructor Details

#initialize(attrs = {}) ⇒ Base

Returns a new instance of Base.



14
15
16
17
# File 'lib/daisybill_api/models/base.rb', line 14

def initialize(attrs = {})
  self.external_errors = {}
  super
end

Instance Attribute Details

#external_errorsObject

Returns the value of attribute external_errors.



10
11
12
# File 'lib/daisybill_api/models/base.rb', line 10

def external_errors
  @external_errors
end