lib/acumatica/resource.rb in acumatica-0.3.0 vs lib/acumatica/resource.rb in acumatica-0.4.0

- old
+ new

@@ -1,9 +1,13 @@ # frozen_string_literal: true require "active_support/core_ext/string/inflections" require "active_support/core_ext/hash/keys" -require "active_support/core_ext/hash/transform_values" + +if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.5.0') + require "active_support/core_ext/hash/transform_values" +end + require "ostruct" module Acumatica class Resource < OpenStruct class << self