=begin #Pinterest REST API #Pinterest's REST API The version of the OpenAPI document: 5.3.0 Contact: blah@cliffano.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.4.0 =end require 'spec_helper' require 'json' # Unit tests for PinterestSdkClient::OauthApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'OauthApi' do before do # run before each test @api_instance = PinterestSdkClient::OauthApi.new end after do # run after each test end describe 'test an instance of OauthApi' do it 'should create an instance of OauthApi' do expect(@api_instance).to be_instance_of(PinterestSdkClient::OauthApi) end end # unit tests for oauth_token # Generate OAuth access token # Generate an OAuth access token by using an authorization code or a refresh token. See <a href='/docs/api/v5/#tag/Authentication'>Authentication</a> for more. # @param grant_type # @param [Hash] opts the optional parameters # @return [OauthAccessTokenResponse] describe 'oauth_token test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end