Sha256: bb4d7125d3447c7a154fead668878879253a303b41a06061250341c75605e7b3
Contents?: true
Size: 874 Bytes
Versions: 5
Compression:
Stored size: 874 Bytes
Contents
# frozen_string_literal: true require 'cloud_party/version' require 'cloud_party/context' require 'cloud_party/response' require 'cloud_party/responses' require 'cloud_party/exceptions' require 'cloud_party/nodes' require 'cloud_party/simple' require 'httparty' require 'json' require 'app_configuration' class Hash #take keys of hash and transform those to a symbols def self.transform_keys_to_symbols(value) return value if not value.is_a?(Hash) hash = value.inject({}){|memo,(k,v)| memo[k.to_sym] = Hash.transform_keys_to_symbols(v); memo} return hash end end class String def squish! strip! gsub!(/\s+/, ' ') self end def squish dup.squish! end end module CloudParty autoload :Errors, 'cloud_party/exceptions' class Connection include CloudParty::Context end def self.context_connect Connection.new end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
cloud_party-0.1.7 | lib/cloud_party.rb |
cloud_party-0.1.6 | lib/cloud_party.rb |
cloud_party-0.1.5 | lib/cloud_party.rb |
cloud_party-0.1.4 | lib/cloud_party.rb |
cloud_party-0.1.3 | lib/cloud_party.rb |