lib/plaid.rb in plaid-7.0.0.rc0 vs lib/plaid.rb in plaid-7.0.0
- old
+ new
@@ -24,12 +24,12 @@
module Plaid
# Public: Get relaxed models state.
#
# We support two modes for parsing response bodies.
#
- # Strict mode (default). Unknown attributes will cause NoMethodError.
+ # Strict mode: Unknown attributes will cause NoMethodError.
#
- # Relaxed mode. If a response contains an unknown
+ # Relaxed mode (default): If a response contains an unknown
# attribute, it won't cause any error and will be accessible
# using brackets notation: `response['unknown_attribute']`.
#
# Returns truey value for relaxed mode and falsey for strict.
def relaxed_models?