lib/cloudinary/auth_token.rb in cloudinary-1.29.0 vs lib/cloudinary/auth_token.rb in cloudinary-2.0.0
- old
+ new
@@ -1,12 +1,8 @@
# frozen_string_literal: true
require 'openssl'
-if RUBY_VERSION > "2"
- require "ostruct"
-else
- require "cloudinary/ostruct2"
-end
+require "ostruct"
module Cloudinary
module AuthToken
SEPARATOR = '~'