=begin #Treezor #Treezor API. more info [here](https://www.treezor.com). OpenAPI spec version: 0.1.1 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.3.1 =end require 'spec_helper' require 'json' # Unit tests for TreezorClient::IssuerInitiatedDigitizationDataApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'IssuerInitiatedDigitizationDataApi' do before do # run before each test @instance = TreezorClient::IssuerInitiatedDigitizationDataApi.new end after do # run after each test end describe 'test an instance of IssuerInitiatedDigitizationDataApi' do it 'should create an instance of IssuerInitiatedDigitizationDataApi' do expect(@instance).to be_instance_of(TreezorClient::IssuerInitiatedDigitizationDataApi) end end # unit tests for tav_request_post # Request the issuerInitiatedDigitizationData # Create a new issuerInitiatedDigitizationData request # @param [Hash] opts the optional parameters # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication). # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics). # @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics). # @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics). # @option opts [Body] :body # @return [InlineResponse200] describe 'tav_request_post test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for tavrequestget # Search issuerInitiatedDigitizationData requests # Search tav issuerInitiatedDigitizationData requests that match search criteria. # @param [Hash] opts the optional parameters # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication). # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics). # @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics). # @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics). # @option opts [Array] :fields List of the object's properties you want to pick up. # @option opts [String] :filter You can filter the API response by using filter(s). Filterable fields are : - id - cardId - tokenRequestor - statusId - createdDate - modifiedDate Filters should be separated by a \";\". Example for 3 filters : FILTER1;FILTER2;FILTER3. A single filter has the following syntax : \"fieldName criterion expression\". Where : - fieldName : the name of a filterable field of this object. - expression : the values to be included or excluded (see the table below for more information) - criterion : a filter criterion. Here are the possible values for criterion : | Criteria | Description | Type | Expression Example | |----------|------------------------|------------------------------------------|--------------------| | > | greater than | alphanumeric string | 100 | | >= | greater or equal than | alphanumeric string | 100 | | < | less than | alphanumeric string | 100 | | <= | less or equal than | alphanumeric string | 100 | | != | not equal to | alphanumeric string | 100 | | like | like | alphanumeric string | 100 | | in | in | alphanumeric strings separated by commas | 100,30,25 | | == | equals | alphanumeric string | 100 | # @option opts [Integer] :page_number Pagination page number. More info [here](https://www.treezor.com/lists). # @option opts [Integer] :page_count The number of items per page. More info [here](https://www.treezor.com/lists). # @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://www.treezor.com/lists). # @option opts [String] :sort_order The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://www.treezor.com/lists). # @return [InlineResponse200] describe 'tavrequestget test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end