Sha256: b2dd4f7cf38667e833bbbe8b992016c6a3b2629372489589bb55ed8c8048aeb5

Contents?: true

Size: 636 Bytes

Versions: 42

Compression:

Stored size: 636 Bytes

Contents

module MuffinMan
  module Tokens
    class V20210301 < SpApiClient
      def create_restricted_data_token(path, method, data_elements, target_application: nil)
        @local_var_path = "/tokens/2021-03-01/restrictedDataToken"
        @request_body = {}
        @request_body["targetApplication"] = target_application unless target_application.nil?
        restricted_resources = {
          "method" => method,
          "path" => path,
          "dataElements" => data_elements
        }
        @request_body["restrictedResources"] = [restricted_resources]
        @request_type = "POST"
        call_api
      end
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
muffin_man-2.4.8 lib/muffin_man/tokens/v20210301.rb
muffin_man-2.4.7 lib/muffin_man/tokens/v20210301.rb
muffin_man-2.4.6 lib/muffin_man/tokens/v20210301.rb
muffin_man-2.4.5 lib/muffin_man/tokens/v20210301.rb
muffin_man-2.4.4 lib/muffin_man/tokens/v20210301.rb
muffin_man-2.4.3 lib/muffin_man/tokens/v20210301.rb
muffin_man-2.4.2 lib/muffin_man/tokens/v20210301.rb
muffin_man-2.3.0 lib/muffin_man/tokens/v20210301.rb
muffin_man-2.2.2 lib/muffin_man/tokens/v20210301.rb
muffin_man-2.2.1 lib/muffin_man/tokens/v20210301.rb
muffin_man-2.1.3 lib/muffin_man/tokens/v20210301.rb
muffin_man-2.1.0 lib/muffin_man/tokens/v20210301.rb
muffin_man-2.0.6 lib/muffin_man/tokens/v20210301.rb
muffin_man-2.0.5 lib/muffin_man/tokens/v20210301.rb
muffin_man-2.0.4 lib/muffin_man/tokens/v20210301.rb
muffin_man-2.0.3 lib/muffin_man/tokens/v20210301.rb
muffin_man-2.0.2 lib/muffin_man/tokens/v20210301.rb
muffin_man-2.0.1 lib/muffin_man/tokens/v20210301.rb
muffin_man-2.0.0 lib/muffin_man/tokens/v20210301.rb
muffin_man-1.5.12 lib/muffin_man/tokens/v20210301.rb