Sha256: 921afd5f08aad9f86451d962788d27474ab418732eeb6bb32d90f6f848758540
Contents?: true
Size: 374 Bytes
Versions: 1
Compression:
Stored size: 374 Bytes
Contents
# frozen_string_literal: true module AppStoreConnect class Client class Utils def self.encode(hash) hash .deep_transform_keys { |s| s.to_s.camelize(:lower) } .to_json end def self.decode(string) JSON .parse(string) .deep_transform_keys { |k| k.underscore.to_sym } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
app_store_connect-0.19.0 | lib/app_store_connect/client/utils.rb |