Sha256: 0592b733b98566e692f427791f8d51c31af1bd81c8ed074ec0d226e4a1055a61

Contents?: true

Size: 746 Bytes

Versions: 2

Compression:

Stored size: 746 Bytes

Contents

require 'k2-connect-ruby/k2_utilities/k2_url_parse'
require 'k2-connect-ruby/k2_utilities/k2_authorize'
require 'k2-connect-ruby/k2_utilities/k2_connection'
require 'k2-connect-ruby/k2_utilities/k2_validation'
require 'k2-connect-ruby/k2_utilities/config/k2_config'
require 'k2-connect-ruby/k2_utilities/k2_process_result'
require 'k2-connect-ruby/k2_utilities/k2_process_webhook'

# For Stub Requests
require 'k2-connect-ruby/k2_utilities/spec_modules/spec_config'

module K2Utilities
  def make_hash(path_url, request, access_token, class_type, body)
    {
        path_url: path_url,
        access_token: access_token,
        request_type: request,
        class_type: class_type,
        params: body
    }.with_indifferent_access
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
k2-connect-ruby-2.0.0 lib/k2-connect-ruby/utilities.rb
k2-connect-ruby-1.0.0 lib/k2-connect-ruby/utilities.rb