Sha256: 932f3689cd6c420d4b8f13bbad626ebf545ab0ddca43f2bda62d2dcbfe679e40

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 KB

Contents

=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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pinterest_sdk-1.1.0 spec/api/oauth_api_spec.rb