Module: Quickbooks::Config::ClassMethods
- Defined in:
- lib/quickbooks/config.rb
Instance Method Summary collapse
Instance Method Details
#check_schema_type!(schema_type) ⇒ Object
44 45 46 47 48 |
# File 'lib/quickbooks/config.rb', line 44 def check_schema_type!(schema_type) unless SCHEMA_MAP.include?(schema_type) raise(ArgumentError, "valid schema type required: #{valid_schema_types.inspect}") end end |