Sha256: 53f9f2ef52c3aab16a544925155012f187d44edf15ef2a7441dd876f7bcdf056
Contents?: true
Size: 1.78 KB
Versions: 1
Compression:
Stored size: 1.78 KB
Contents
=begin #OAuthService #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) OpenAPI spec version: v1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 3.3.4 =end require 'spec_helper' require 'json' # Unit tests for Hubspot::OAuth::DefaultApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'DefaultApi' do before do # run before each test @instance = Hubspot::OAuth::DefaultApi.new end after do # run after each test end describe 'test an instance of DefaultApi' do it 'should create an instance of DefaultApi' do expect(@instance).to be_instance_of(Hubspot::OAuth::DefaultApi) end end # unit tests for postoauthv1token # Auth Level: none ([Docs](https://product.hubteam.com/docs/appsystems/auth-and-rest/auth-levels.html)) [Source Code](https://private.hubteam.com/opengrok/search?project=all&path=TokensResource%20OR%20Object&defs=requestAccessToken)&nbsp;|&nbsp;[API Goggles](https://tools.hubteam.com/api/post/api.hubapi.com%2Foauth%2Fv1%2Ftoken?showRequestDetails=true)&nbsp;|&nbsp;<a href='#operations-Tokens-post-%2Foauth%2Fv1%2Ftoken'>Permalink</a> # @param [Hash] opts the optional parameters # @option opts [String] :grant_type # @option opts [String] :code # @option opts [String] :redirect_uri # @option opts [String] :client_id # @option opts [String] :client_secret # @option opts [String] :refresh_token # @return [Error] describe 'postoauthv1token 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 |
---|---|
hubspot-api-client-9.2.0 | spec/oauth/api/default_api_spec.rb |