Class: Plaid::Models::BaseModel

Inherits:
Hashie::Dash
  • Object
show all
Includes:
Hashie::Extensions::Dash::Coercion, Hashie::Extensions::Dash::IndifferentAccess
Defined in:
lib/plaid/models.rb

Overview

Internal: Base model for all other models.

Instance Method Summary collapse

Instance Method Details

#assert_property_exists!(property) ⇒ Object

Internal: Be strict or forgiving depending on Plaid.relaxed_models value.



12
13
14
# File 'lib/plaid/models.rb', line 12

def assert_property_exists!(property)
  super unless Plaid.relaxed_models?
end