repo
stringlengths
5
92
file_url
stringlengths
80
287
file_path
stringlengths
5
197
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:37:27
2026-01-04 17:58:21
truncated
bool
2 classes
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/cms/domains/domains_api_spec.rb
spec/discovery/cms/domains/domains_api_spec.rb
require 'spec_helper' describe 'Hubspot::Discovery::Cms::Domains::DomainsApi' do subject(:domains_api) { Hubspot::Client.new(access_token: 'test').cms.domains.domains_api } it { is_expected.to respond_to(:get_by_id) } it { is_expected.to respond_to(:get_page) } end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/cms/url-redirects/redirects_api_spec.rb
spec/discovery/cms/url-redirects/redirects_api_spec.rb
require 'spec_helper' describe 'Hubspot::Discovery::Cms::UrlRedirects::RedirectsApi' do subject(:redirects_api) { Hubspot::Client.new(access_token: 'test').cms.url_redirects.redirects_api } it { is_expected.to respond_to(:archive) } it { is_expected.to respond_to(:create) } it { is_expected.to respond_to(:get_by_id) } it { is_expected.to respond_to(:get_page) } it { is_expected.to respond_to(:update) } end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/cms/audit-logs/audit_logs_api_spec.rb
spec/discovery/cms/audit-logs/audit_logs_api_spec.rb
require 'spec_helper' describe 'Hubspot::Discovery::Cms::AuditLogs::AuditLogsApi' do subject(:api) { Hubspot::Client.new(access_token: 'test').cms.audit_logs.audit_logs_api } it { is_expected.to respond_to(:get_page) } end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/cms/source-code/extract_api_spec.rb
spec/discovery/cms/source-code/extract_api_spec.rb
require 'spec_helper' describe 'Hubspot::Discovery::Cms::SourceCode::ExtractApi' do subject(:api) { Hubspot::Client.new(access_token: 'test').cms.source_code.extract_api } it { is_expected.to respond_to(:do_async) } it { is_expected.to respond_to(:get_async_status) } end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/cms/source-code/metadata_api_spec.rb
spec/discovery/cms/source-code/metadata_api_spec.rb
require 'spec_helper' describe 'Hubspot::Discovery::Cms::SourceCode::MetadataApi' do subject(:api) { Hubspot::Client.new(access_token: 'test').cms.source_code.metadata_api } it { is_expected.to respond_to(:get) } end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/cms/source-code/validation_api_spec.rb
spec/discovery/cms/source-code/validation_api_spec.rb
require 'spec_helper' describe 'Hubspot::Discovery::Cms::SourceCode::ValidationApi' do subject(:api) { Hubspot::Client.new(access_token: 'test').cms.source_code.validation_api } it { is_expected.to respond_to(:do_validate) } end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/cms/source-code/content_api_spec.rb
spec/discovery/cms/source-code/content_api_spec.rb
require 'spec_helper' describe 'Hubspot::Discovery::Cms::SourceCode::ContentApi' do subject(:api) { Hubspot::Client.new(access_token: 'test').cms.source_code.content_api } it { is_expected.to respond_to(:archive) } it { is_expected.to respond_to(:create) } it { is_expected.to respond_to(:download) } it { is_expected.to respond_to(:create_or_update) } end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/cms/hubdb/rows_api_spec.rb
spec/discovery/cms/hubdb/rows_api_spec.rb
require 'spec_helper' describe 'Hubspot::Discovery::Cms::Hubdb::RowsApi' do subject(:rows_api) { Hubspot::Client.new(access_token: 'test').cms.hubdb.rows_api } it { is_expected.to respond_to(:clone_draft_table_row) } it { is_expected.to respond_to(:create_table_row) } it { is_expected.to respond_to(:get_draft_table_row_by_id) } it { is_expected.to respond_to(:get_table_row) } it { is_expected.to respond_to(:get_table_rows) } it { is_expected.to respond_to(:purge_draft_table_row) } it { is_expected.to respond_to(:read_draft_table_rows) } it { is_expected.to respond_to(:replace_draft_table_row) } it { is_expected.to respond_to(:update_draft_table_row) } end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/cms/hubdb/rows_batch_api_spec.rb
spec/discovery/cms/hubdb/rows_batch_api_spec.rb
require 'spec_helper' describe 'Hubspot::Discovery::Cms::Hubdb::RowsBatchApi' do subject(:rows_batch_api) { Hubspot::Client.new(access_token: 'test').cms.hubdb.rows_batch_api } it { is_expected.to respond_to(:clone_draft_table_rows) } it { is_expected.to respond_to(:create_draft_table_rows) } it { is_expected.to respond_to(:purge_draft_table_rows) } it { is_expected.to respond_to(:read_draft_table_rows) } it { is_expected.to respond_to(:read_table_rows) } it { is_expected.to respond_to(:replace_draft_table_rows) } it { is_expected.to respond_to(:update_draft_table_rows) } end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/cms/hubdb/tables_api_spec.rb
spec/discovery/cms/hubdb/tables_api_spec.rb
require 'spec_helper' describe 'Hubspot::Discovery::Cms::Hubdb::TablesApi' do subject(:tables_api) { Hubspot::Client.new(access_token: 'test').cms.hubdb.tables_api } it { is_expected.to respond_to(:archive_table) } it { is_expected.to respond_to(:clone_draft_table) } it { is_expected.to respond_to(:create_table) } it { is_expected.to respond_to(:export_draft_table) } it { is_expected.to respond_to(:export_table) } it { is_expected.to respond_to(:get_all_draft_tables) } it { is_expected.to respond_to(:get_all_tables) } it { is_expected.to respond_to(:get_draft_table_details_by_id) } it { is_expected.to respond_to(:get_table_details) } it { is_expected.to respond_to(:import_draft_table) } it { is_expected.to respond_to(:publish_draft_table) } it { is_expected.to respond_to(:unpublish_table) } it { is_expected.to respond_to(:reset_draft_table) } it { is_expected.to respond_to(:update_draft_table) } end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/cms/site-search/public_api_spec.rb
spec/discovery/cms/site-search/public_api_spec.rb
require 'spec_helper' describe 'Hubspot::Discovery::Cms::SiteSearch::PublicApi' do subject(:api) { Hubspot::Client.new(access_token: 'test').cms.site_search.public_api } it { is_expected.to respond_to(:get_by_id) } it { is_expected.to respond_to(:search) } end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/automation/actions/functions_api_spec.rb
spec/discovery/automation/actions/functions_api_spec.rb
require 'spec_helper' describe 'Hubspot::Discovery::Automation::Actions::FunctionsApi' do subject(:functions_api) { Hubspot::Client.new(access_token: 'test').automation.actions.functions_api } it { is_expected.to respond_to(:archive) } it { is_expected.to respond_to(:archive_by_function_type) } it { is_expected.to respond_to(:create_or_replace) } it { is_expected.to respond_to(:create_or_replace_by_function_type) } it { is_expected.to respond_to(:get_by_function_type) } it { is_expected.to respond_to(:get_by_id) } it { is_expected.to respond_to(:get_page) } end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/automation/actions/callbacks_api_spec.rb
spec/discovery/automation/actions/callbacks_api_spec.rb
require 'spec_helper' describe 'Hubspot::Discovery::Automation::Actions::CallbacksApi' do subject(:callbacks_api) { Hubspot::Client.new(access_token: 'test').automation.actions.callbacks_api } it { is_expected.to respond_to(:complete) } it { is_expected.to respond_to(:complete_batch) } end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/automation/actions/revisions_api_spec.rb
spec/discovery/automation/actions/revisions_api_spec.rb
require 'spec_helper' describe 'Hubspot::Discovery::Automation::Actions::RevisionsApi' do subject(:revisions_api) { Hubspot::Client.new(access_token: 'test').automation.actions.revisions_api } it { is_expected.to respond_to(:get_by_id) } it { is_expected.to respond_to(:get_page) } end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/automation/actions/definitions_api_spec.rb
spec/discovery/automation/actions/definitions_api_spec.rb
require 'spec_helper' describe 'Hubspot::Discovery::Automation::Actions::DefinitionsApi' do subject(:definitions_api) { Hubspot::Client.new(access_token: 'test').automation.actions.definitions_api } it { is_expected.to respond_to(:archive) } it { is_expected.to respond_to(:create) } it { is_expected.to respond_to(:get_by_id) } it { is_expected.to respond_to(:get_page) } it { is_expected.to respond_to(:update) } end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/helpers/authorize_url_spec.rb
spec/helpers/authorize_url_spec.rb
require 'uri' require 'rspec' require_relative "../../lib/hubspot/oauth_helper" describe 'get_auth_url' do AUTHORIZE_URL = 'https://app.hubspot.com/oauth/authorize' let(:data) do { client_id: 'client_id', redirect_uri: 'http://localhost', scope: ['contacts', 'timeline'], optional_scope: ['scope1', 'scope3'] } end it 'returns the correct URL with empty scope' do expected_params = { client_id: data[:client_id], redirect_uri: data[:redirect_uri] } expected_url = "#{AUTHORIZE_URL}?#{URI.encode_www_form(expected_params)}" result = Hubspot::OAuthHelper.authorize_url(data[:client_id], data[:redirect_uri]) expect(result).to eq(expected_url) end it 'returns the correct URL with scope' do expected_params = { client_id: data[:client_id], redirect_uri: data[:redirect_uri], scope: data[:scope].join(' ') } expected_url = "#{AUTHORIZE_URL}?#{URI.encode_www_form(expected_params)}" result = Hubspot::OAuthHelper.authorize_url(data[:client_id], data[:redirect_uri], data[:scope]) expect(result).to eq(expected_url) end it 'returns the correct URL with optional_scope' do expected_params = { client_id: data[:client_id], redirect_uri: data[:redirect_uri], scope: data[:optional_scope].join(' ') } expected_url = "#{AUTHORIZE_URL}?#{URI.encode_www_form(expected_params)}" result = Hubspot::OAuthHelper.authorize_url(data[:client_id], data[:redirect_uri], data[:optional_scope]) expect(result).to eq(expected_url) end it 'returns the correct URL' do expected_params = { client_id: data[:client_id], redirect_uri: data[:redirect_uri], scope: data[:scope].join(' '), optional_scope: data[:optional_scope].join(' '), state: "test_state" } expected_url = "#{AUTHORIZE_URL}?#{URI.encode_www_form(expected_params)}" result = Hubspot::OAuthHelper.authorize_url( data[:client_id], data[:redirect_uri], data[:scope], data[:optional_scope], "test_state" ) expect(result).to eq(expected_url) end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/helpers/camel_case_spec.rb
spec/helpers/camel_case_spec.rb
require 'spec_helper' describe "Hubspot::Helpers::CamelCase" do subject( :camel_case) { Hubspot::Helpers::CamelCase.new } it "Method 'format' should convert all snake_case strings to CamelCase strings" do result = camel_case.format("some_test_text_in_snake_case") expect(result).to eql "SomeTestTextInSnakeCase" end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/helpers/signature_spec.rb
spec/helpers/signature_spec.rb
require 'date' require_relative "../../lib/hubspot/helpers/signature" require_relative "../../lib/hubspot/exceptions" TEST_DATA = { :client_secret=> "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy", :request_body=> "{'example_field':'example_value'}", :url=> "https://www.example.com/webhook_uri", :http_method=> "POST", :timestamp=> 1_700_000_300_000, :v1_hash=> "69fc6631a867edd4f9e9e627fc5c1148e3fbdd8b21837b6d2b8901c1fa57f750", :v2_hash=> "4fe4e3a7d3cf09db53be39d0a58130e2aaba074ec123a9e355b876a689a1c383", :v3_hash=> "RnbPH7+UMKVkbV32P8bz450N4M56aPmcru1+D3kSDtw=", } describe "Hubspot::Helpers::Signature.get_signature" do subject( :signature) { Hubspot::Helpers::Signature.new } it "should return hashed data for v3 signature version" do result = signature.get_signature( client_secret: TEST_DATA[:client_secret], request_body: TEST_DATA[:request_body], signature_version: "v3", http_uri: TEST_DATA[:url], timestamp: TEST_DATA[:timestamp] ) expect(result).to eql TEST_DATA[:v3_hash] end it "should return hashed data for v2 signature version" do result = signature.get_signature( client_secret: TEST_DATA[:client_secret], request_body: TEST_DATA[:request_body], signature_version: "v2", http_uri: TEST_DATA[:url], ) expect(result).to eql TEST_DATA[:v2_hash] end it "should return hashed data for v1 signature version" do result = signature.get_signature( client_secret: TEST_DATA[:client_secret], request_body: TEST_DATA[:request_body], signature_version: "v1" ) expect(result).to eql TEST_DATA[:v1_hash] end it "should raise exception for wrong signature version" do expect{ signature.get_signature( client_secret: TEST_DATA[:client_secret], request_body: TEST_DATA[:request_body], signature_version: "wrong_signature_version" ) }.to raise_error(Hubspot::InvalidSignatureVersionError) end end describe "Hubspot::Helpers::Signature.is_valid" do subject( :signature) { Hubspot::Helpers::Signature.new } it "should return true for v1 signature version" do result = signature.is_valid( signature: TEST_DATA[:v1_hash], client_secret: TEST_DATA[:client_secret], request_body: TEST_DATA[:request_body], signature_version: "v1" ) expect(result).to be true end it "should return true for v2 signature version" do result = signature.is_valid( signature: TEST_DATA[:v2_hash], client_secret: TEST_DATA[:client_secret], request_body: TEST_DATA[:request_body], http_uri: TEST_DATA[:url], signature_version: "v2" ) expect(result).to be true end it "should return true for v3 signature version" do test_timestamp_microseconds = (Time.now.to_f * 1000).to_i test_signature = signature.get_signature( client_secret: TEST_DATA[:client_secret], request_body: TEST_DATA[:request_body], http_uri: TEST_DATA[:http_uri], timestamp: test_timestamp_microseconds, signature_version: "v3" ) result = signature.is_valid( signature: test_signature, client_secret: TEST_DATA[:client_secret], request_body: TEST_DATA[:request_body], http_uri: TEST_DATA[:http_uri], timestamp: test_timestamp_microseconds, signature_version: "v3" ) expect(result).to be true end it "should raise exception if :signature_version=>v3 and :timestamp=>nil" do expect { signature.is_valid( signature: TEST_DATA[:v3_hash], client_secret: TEST_DATA[:client_secret], request_body: TEST_DATA[:request_body], http_uri: TEST_DATA[:http_uri], signature_version: "v3" ) }.to raise_error(Hubspot::InvalidSignatureTimestampError) end it "should raise exception if :signature_version=>v3 and :timestamp=>expired" do expect { signature.is_valid( signature: TEST_DATA[:v3_hash], client_secret: TEST_DATA[:client_secret], request_body: TEST_DATA[:request_body], http_uri: TEST_DATA[:http_uri], timestamp: 1_700_000_000_000, signature_version: "v3" ) }.to raise_error(Hubspot::InvalidSignatureTimestampError) end it "should raise exception if :signature_version=>v3 and :timestamp=>wrong_timestamp" do expect { signature.is_valid( signature: TEST_DATA[:v3_hash], client_secret: TEST_DATA[:client_secret], request_body: TEST_DATA[:request_body], http_uri: TEST_DATA[:http_uri], timestamp: "wrong_timestamp", signature_version: "v3" ) }.to raise_error(Hubspot::InvalidSignatureTimestampError) end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/helpers/requests/http_auth_spec.rb
spec/helpers/requests/http_auth_spec.rb
require 'spec_helper' require 'hubspot/helpers/requests/http_auth' RSpec.describe Hubspot::Helpers::Auth do let(:config_with_api_key) { { api_key: 'api_key_value' } } let(:config_with_access_token) { { access_token: 'token_value' } } let(:config_empty) { {} } describe '.get_auth_types' do it 'returns an array of supported auth types' do expect(described_class.get_auth_types).to eq([:access_token, :api_key]) end end describe '.has_auth_value?' do it 'returns true if the key has a value' do expect(described_class.has_auth_value?(config_with_api_key, :api_key)).to be true expect(described_class.has_auth_value?(config_with_access_token, :access_token)).to be true end it 'returns false if the key has no value or is nil' do expect(described_class.has_auth_value?(config_empty, :access_token)).to be false expect(described_class.has_auth_value?(config_empty, :api_key)).to be false end end describe '.choose_auth' do context 'when auth_type is specified in options' do it 'returns the specified auth type' do options = { auth_type: :api_key } result = described_class.choose_auth(config_with_access_token, options) expect(result).to eq({ auth_type: :api_key }) end end context 'when auth_type is not specified in options' do it 'chooses the first valid auth type from the config' do options = {} result = described_class.choose_auth(config_with_access_token, options) expect(result).to eq({ auth_type: :access_token }) end end context 'when no valid auth type is found in config' do it 'raises an error' do options = {} expect { described_class.choose_auth(config_empty, options) }.to raise_error("Unsupported auth_type: ") end end context 'when auth_type is invalid' do it 'raises an error for unsupported auth types' do options = { auth_type: :unsupported_type } expect { described_class.choose_auth(config_with_access_token, options) }.to raise_error("Unsupported auth_type: unsupported_type") end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/helpers/requests/http_request_spec.rb
spec/helpers/requests/http_request_spec.rb
require 'spec_helper' require 'hubspot/helpers/requests/http_request_builder' RSpec.describe Hubspot::Helpers::Request do let(:config_with_access_token) { { access_token: 'token_value', "base_url" => "https://api.hubapi.com" } } let(:config_with_api_key) { { api_key: 'api_key_value', "base_url" => "https://api.hubapi.com" } } let(:default_options) { { path: '/test', method: 'GET' } } let(:post_options) { { path: '/test', method: 'POST', body: { key: 'value' } } } describe '#initialize' do it 'sets default headers and URL' do request = described_class.new(config_with_access_token, default_options) expect(request.url).to eq('https://api.hubapi.com/test') expect(request.headers['Content-Type']).to eq('application/json') end end describe '#apply_auth' do it 'applies access_token authorization' do request = described_class.new(config_with_access_token, default_options) expect(request.headers['Authorization']).to eq('Bearer token_value') end it 'applies API key authorization' do request = described_class.new(config_with_api_key, default_options.merge(auth_type: :api_key, auth_value: 'api_key_value')) expect(request.url).to include('hapikey=api_key_value') end end describe '#generate_url' do it 'generates a valid URL with a query string' do options = default_options.merge(qs: { param1: 'value1', param2: 'value2' }) request = described_class.new(config_with_access_token, options) expect(request.url).to eq('https://api.hubapi.com/test?param1=value1&param2=value2') end end describe '#set_body' do it 'sets JSON body for POST requests' do request = described_class.new(config_with_access_token, post_options) expect(request.body).to eq('{"key":"value"}') end it 'does not set body for GET requests' do request = described_class.new(config_with_access_token, default_options) expect(request.body).to be_nil end end describe '#send' do let(:response) { instance_double('Net::HTTPResponse', code: '200', body: '{"message":"success"}') } it 'sends a GET request successfully' do allow_any_instance_of(Net::HTTP).to receive(:request).and_return(response) request = described_class.new(config_with_access_token, default_options) result = request.send expect(result.body).to eq('{"message":"success"}') end it 'raises an error for unsupported HTTP methods' do options = default_options.merge(method: 'INVALID') expect { described_class.new(config_with_access_token, options).send }.to raise_error('Unsupported HTTP method: INVALID') end it 'raises an error for HTTP exceptions' do allow_any_instance_of(Net::HTTP).to receive(:request).and_raise(StandardError.new('network error')) request = described_class.new(config_with_access_token, default_options) expect { request.send }.to raise_error(StandardError, 'network error') end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot-api-client.rb
lib/hubspot-api-client.rb
require_relative 'hubspot/client' require 'logger' require 'hubspot/version'
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/version.rb
lib/hubspot/version.rb
module Hubspot VERSION = '20.0.0' end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/exceptions.rb
lib/hubspot/exceptions.rb
module Hubspot class ConfigurationError < StandardError; end class InvalidSignatureVersionError < StandardError def initialize(signature_version) @signature_version = signature_version super("Invalid signature version passed to request: #{@signature_version}") end end class InvalidSignatureTimestampError < StandardError def initialize(timestamp) @timestamp = timestamp super("Signature timestamp is invalid: #{@timestamp}.") end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/configuration.rb
lib/hubspot/configuration.rb
require 'cgi' module Hubspot class Configuration # Defines url scheme attr_accessor :scheme # Defines url host attr_accessor :host # Defines url base path attr_accessor :base_path # Defines API keys used with API Key authentications. # # @return [Hash] key: parameter name, value: parameter value (API key) # # @example parameter name is "api_key", API key is "xxx" (e.g. "api_key=xxx" in query string) # config.api_key['api_key'] = 'xxx' attr_accessor :api_key # Defines API key prefixes used with API Key authentications. # # @return [Hash] key: parameter name, value: API key prefix # # @example parameter name is "Authorization", API key prefix is "Token" (e.g. "Authorization: Token xxx" in headers) # config.api_key_prefix['api_key'] = 'Token' attr_accessor :api_key_prefix # Defines the username used with HTTP basic authentication. # # @return [String] attr_accessor :username # Defines the password used with HTTP basic authentication. # # @return [String] attr_accessor :password # Defines the access token (Bearer) used with OAuth2. attr_accessor :access_token # Set this to enable/disable debugging. When enabled (set to true), HTTP request/response # details will be logged with `logger.debug` (see the `logger` attribute). # Default to false. # # @return [true, false] attr_accessor :debugging # Defines the logger used for debugging. # Default to `Rails.logger` (when in Rails) or logging to STDOUT. # # @return [#debug] attr_accessor :logger # Defines the temporary folder to store downloaded files # (for API endpoints that have file response). # Default to use `Tempfile`. # # @return [String] attr_accessor :temp_folder_path # The time limit for HTTP request in seconds. # Default to 0 (never times out). attr_accessor :timeout # Set this to false to skip client side validation in the operation. # Default to true. # @return [true, false] attr_accessor :client_side_validation ### TLS/SSL setting # Set this to false to skip verifying SSL certificate when calling API from https server. # Default to true. # # @note Do NOT set it to false in production code, otherwise you would face multiple types of cryptographic attacks. # # @return [true, false] attr_accessor :verify_ssl ### TLS/SSL setting # Set this to false to skip verifying SSL host name # Default to true. # # @note Do NOT set it to false in production code, otherwise you would face multiple types of cryptographic attacks. # # @return [true, false] attr_accessor :verify_ssl_host ### TLS/SSL setting # Set this to customize the certificate file to verify the peer. # # @return [String] the path to the certificate file # # @see The `cainfo` option of Typhoeus, `--cert` option of libcurl. Related source code: # https://github.com/typhoeus/typhoeus/blob/master/lib/typhoeus/easy_factory.rb#L145 attr_accessor :ssl_ca_cert ### TLS/SSL setting # Client certificate file (for client certificate) attr_accessor :cert_file ### TLS/SSL setting # Client private key file (for client certificate) attr_accessor :key_file # Set this to customize parameters encoding of array parameter with multi collectionFormat. # Default to nil. # # @see The params_encoding option of Ethon. Related source code: # https://github.com/typhoeus/ethon/blob/master/lib/ethon/easy/queryable.rb#L96 attr_accessor :params_encoding attr_accessor :inject_format attr_accessor :force_ending_format attr_accessor :error_handler def initialize @scheme = 'https' @host = 'api.hubapi.com' @base_path = '' @api_key = {} @api_key_prefix = {} @timeout = 0 @client_side_validation = true @verify_ssl = true @verify_ssl_host = true @params_encoding = nil @cert_file = nil @key_file = nil @debugging = false @inject_format = false @force_ending_format = false @logger = defined?(Rails) ? Rails.logger : Logger.new(STDOUT) # error_handler params: { 'status_code': { max_retries: ..., seconds_delay: ... }, ... } @error_handler = {} yield(self) if block_given? end # The default Configuration object. def self.default @@default ||= Configuration.new end def configure yield(self) if block_given? end def scheme=(scheme) # remove :// from scheme @scheme = scheme.sub(/:\/\//, '') end def host=(host) # remove http(s):// and anything after a slash @host = host.sub(/https?:\/\//, '').split('/').first end def base_path=(base_path) # Add leading and trailing slashes to base_path @base_path = "/#{base_path}".gsub(/\/+/, '/') @base_path = '' if @base_path == '/' end def base_url url = "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '') CGI.escape(url) end # Gets API key (with prefix if set). # @param [String] param_name the parameter name of API key auth def api_key_with_prefix(param_name) if @api_key_prefix[param_name] "#{@api_key_prefix[param_name]} #{@api_key[param_name]}" else @api_key[param_name] end end # Gets Basic Auth token string def basic_auth_token 'Basic ' + ["#{username}:#{password}"].pack('m').delete("\r\n") end # Returns Auth Settings hash for api client. def auth_settings { 'hapikey' => { type: 'api_key', in: 'query', key: 'hapikey', value: api_key_with_prefix('hapikey') }, 'oauth2' => { type: 'oauth2', in: 'header', key: 'Authorization', value: "Bearer #{access_token}" }, } end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/client.rb
lib/hubspot/client.rb
require_relative 'discovery/base_module_client' module Hubspot class Client include Hubspot::Discovery::BaseModuleClient def initialize(params) raise 'Please, pass :api_key or :access_token' if params[:api_key].nil? && params[:developer_api_key].nil? && params[:access_token].nil? super end def api_modules %i[ automation cms communication_preferences conversations crm events files marketing oauth settings webhooks ].freeze end def api_request(options) require_relative 'helpers/requests/http_request_builder' request = Hubspot::Helpers::Request.new(@params, options) request.send end def base_module 'Hubspot::Discovery' end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/oauth_helper.rb
lib/hubspot/oauth_helper.rb
module Hubspot class OAuthHelper AUTHORIZE_URL = 'https://app.hubspot.com/oauth/authorize'.freeze class << self def authorize_url(client_id, redirect_uri, scopes = nil, optional_scopes = nil, state = nil) query_params = { "client_id" => client_id, "redirect_uri" => redirect_uri } query_params["scope"] = scopes.join(' ') if scopes query_params["optional_scope"] = optional_scopes.join(' ') if optional_scopes query_params['state'] ||= state if state params = URI.encode_www_form(query_params) "#{AUTHORIZE_URL}?#{params}" end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/base_api_client.rb
lib/hubspot/discovery/base_api_client.rb
require_relative '../helpers/camel_case' require_relative '../helpers/path' module Hubspot module Discovery module BaseApiClient attr_reader :base_params def initialize(params) @base_params = params define_methods end def api_methods api.methods.grep(/with_http_info/).inject([]) do |methods, method| methods << method methods << method.to_s.gsub('_with_http_info', '').to_sym end end def config @config ||= new_config end def api_client require_codegen "#{codegen_module_path}/api_client" require_api_error @api_client ||= Kernel.const_get( "#{codegen_module_name}::ApiClient").new(config) end def api class_name = codegen_api_path.gsub(/(.*)\/(.*)/, '\2') require_codegen codegen_api_path.gsub(class_name, "api/#{class_name}") require_api_models @api ||= Kernel.const_get(codegen_api_class).new(api_client) end def get_all(params = {}) api.get_all(params) end private def new_config require_codegen "#{codegen_module_path}/configuration" config = Kernel.const_get("#{codegen_module_name}::Configuration").new config.access_token = base_params[:access_token] if base_params[:access_token] config.api_key['hapikey'] = base_params[:api_key] if base_params[:api_key] config.api_key['developer_hapikey'] = base_params[:developer_api_key] if base_params[:developer_api_key] config end def require_codegen(path) Hubspot::Helpers::Path.new.require_with_codegen_mapping(path) end def require_api_models def (Kernel.const_get(codegen_module_name)).const_get(const, *) require 'hubspot/helpers/path' codegen_module_path = Hubspot::Helpers::Path.new.format(self.name).gsub('hubspot/', 'hubspot/codegen/') codegen_model = Hubspot::Helpers::Path.new.format(const) Hubspot::Helpers::Path.new.require_with_codegen_mapping("#{codegen_module_path}/models/#{codegen_model}") super rescue LoadError super end end def require_api_error require_codegen "#{codegen_module_path}/api_error" end def codegen_api_class self.class.name.gsub('Discovery::', '') end def codegen_module_name @codegen_module_name ||= codegen_api_class.gsub(/(.*)::.*/, '\1') end def codegen_api_path @codegen_api_path ||= Hubspot::Helpers::Path.new.format(self.class.name).gsub('discovery/', 'codegen/') end def codegen_module_path @codegen_module_path ||= codegen_api_path.gsub(/(.*)\/.*/, '\1') end def call_api(api_method, params_to_pass) api.public_send(api_method, *params_to_pass) end def call_api_with_rescue(api_method, params_to_pass) require_api_error error = Kernel.const_get("#{codegen_module_name}::ApiError") call_api(api_method, params_to_pass) rescue error => e yield(e) end def call_api_with_retry(api_method, params_to_pass, retry_config, &block) call_api_with_rescue(api_method, params_to_pass) do |error| opts = retry_config.detect{ |k,v| k === error.code }&.last retries = opts&.dig(:max_retries) || 5 block.call(error) unless block.nil? response = error while retries > 0 && opts sleep opts[:seconds_delay] if opts[:seconds_delay] response = call_api_with_rescue(api_method, params_to_pass) do |e| block.call(e) unless block.nil? e end return response unless response.respond_to?(:code) opts = retry_config.detect{ |k,v| k === response.code }&.last retries -= 1 end response end end def define_methods define_api_methods end def define_api_methods api_methods.each do |api_method| self.class.define_method(api_method) do |params = {}, &block| params_with_defaults = params params_with_defaults[:opts] ||= {} params_with_defaults[:opts][:debug_auth_names] = if base_params[:access_token] 'oauth2' elsif base_params[:api_key] 'hapikey' elsif base_params[:developer_api_key] 'developer_hapikey' else raise 'Unauthorized. Please, provide access_token, api_key or developer_api_key' end signature_params = api.method(api_method).parameters signature_param_names = signature_params.map { |_, param| param } params_with_defaults.each do |param_name, param_value| params_with_defaults[:opts][param_name] = param_value if !signature_param_names.include?(param_name) && param_name != :body && param_name != :retry end params_to_pass = signature_params.map do |req, param| if params_with_defaults[param].nil? model_name = Hubspot::Helpers::CamelCase.new.format(param.to_s) require_codegen "#{codegen_module_path}/models/#{param.to_s}" Kernel.const_get("#{codegen_module_name}::#{model_name}").build_from_hash(params_with_defaults[:body]) else params_with_defaults[param] end rescue NameError raise "Param #{param} is required for #{api.class}\##{api_method} method" if req == :req end return call_api_with_retry(api_method, params_to_pass, params[:retry], &block) unless params[:retry].nil? return call_api_with_rescue(api_method, params_to_pass, &block) unless block.nil? call_api(api_method, params_to_pass) end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/base_module_client.rb
lib/hubspot/discovery/base_module_client.rb
require_relative '../helpers/camel_case' require_relative '../helpers/path' module Hubspot module Discovery module BaseModuleClient attr_reader :params def initialize(params) @params = params define_methods end def base_module self.class.name.gsub(/(.*)::.*/, '\1') end def api_modules [] end def api_classes [] end private def define_methods define_modules_methods define_classes_methods end def define_modules_methods api_modules.each do |api_module| self.class.define_method(api_module) do require_with_mapping "#{discovery_module_path}/#{__method__.to_s}/client" class_name = "#{base_module}::#{Hubspot::Helpers::CamelCase.new.format(__method__.to_s)}::Client" Kernel.const_get(class_name).new(params) end end end def define_classes_methods api_classes.each do |api_class| self.class.define_method("#{api_class}_api") do require_with_mapping "#{discovery_module_path}/api/#{__method__.to_s}" class_name = "#{base_module}::#{Hubspot::Helpers::CamelCase.new.format(__method__.to_s)}" Kernel.const_get(class_name).new(params) end end end def discovery_module_path @discovery_module_path ||= Hubspot::Helpers::Path.new.format(base_module) end def require_with_mapping(path) Hubspot::Helpers::Path.new.require_with_mapping(path) end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/settings/client.rb
lib/hubspot/discovery/settings/client.rb
require_relative '../base_module_client' module Hubspot module Discovery module Settings class Client include Hubspot::Discovery::BaseModuleClient def api_modules %i[ business_units users ].freeze end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/settings/users/client.rb
lib/hubspot/discovery/settings/users/client.rb
require_relative '../../base_module_client' module Hubspot module Discovery module Settings module Users class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ roles teams users ].freeze end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/settings/users/api/teams_api.rb
lib/hubspot/discovery/settings/users/api/teams_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Settings module Users class TeamsApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/settings/users/api/roles_api.rb
lib/hubspot/discovery/settings/users/api/roles_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Settings module Users class RolesApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/settings/users/api/users_api.rb
lib/hubspot/discovery/settings/users/api/users_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Settings module Users class UsersApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/settings/business_units/client.rb
lib/hubspot/discovery/settings/business_units/client.rb
require_relative '../../base_module_client' module Hubspot module Discovery module Settings module BusinessUnits class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ business_unit ].freeze end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/settings/business_units/api/business_unit_api.rb
lib/hubspot/discovery/settings/business_units/api/business_unit_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Settings module BusinessUnits class BusinessUnitApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/files/client.rb
lib/hubspot/discovery/files/client.rb
require_relative '../base_module_client' module Hubspot module Discovery module Files class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ files folders ].freeze end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/files/api/folders_api.rb
lib/hubspot/discovery/files/api/folders_api.rb
require_relative '../../base_api_client' module Hubspot module Discovery module Files class FoldersApi include Hubspot::Discovery::BaseApiClient end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/files/api/files_api.rb
lib/hubspot/discovery/files/api/files_api.rb
require_relative '../../base_api_client' module Hubspot module Discovery module Files class FilesApi include Hubspot::Discovery::BaseApiClient end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/client.rb
lib/hubspot/discovery/crm/client.rb
require_relative '../base_module_client' require_relative '../../helpers/get_all_helper' module Hubspot module Discovery module Crm class Client include Hubspot::Discovery::BaseModuleClient def api_modules %i[ associations commerce companies contacts deals exports extensions imports line_items lists objects owners pipelines products properties quotes schemas tickets timeline ].freeze end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/schemas/client.rb
lib/hubspot/discovery/crm/schemas/client.rb
require_relative '../../base_module_client' module Hubspot module Discovery module Crm module Schemas class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ core ].freeze end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/schemas/api/core_api.rb
lib/hubspot/discovery/crm/schemas/api/core_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Schemas class CoreApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/tickets/client.rb
lib/hubspot/discovery/crm/tickets/client.rb
require_relative '../../base_module_client' module Hubspot module Discovery module Crm module Tickets class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ basic batch search ].freeze end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/tickets/api/batch_api.rb
lib/hubspot/discovery/crm/tickets/api/batch_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Tickets class BatchApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/tickets/api/basic_api.rb
lib/hubspot/discovery/crm/tickets/api/basic_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Tickets class BasicApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/tickets/api/search_api.rb
lib/hubspot/discovery/crm/tickets/api/search_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Tickets class SearchApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/exports/client.rb
lib/hubspot/discovery/crm/exports/client.rb
require_relative '../../base_module_client' module Hubspot module Discovery module Crm module Exports class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ public_exports ].freeze end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/exports/api/public_exports_api.rb
lib/hubspot/discovery/crm/exports/api/public_exports_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Exports class PublicExportsApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/deals/client.rb
lib/hubspot/discovery/crm/deals/client.rb
require_relative '../../base_module_client' module Hubspot module Discovery module Crm module Deals class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ basic batch search ].freeze end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/deals/api/batch_api.rb
lib/hubspot/discovery/crm/deals/api/batch_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Deals class BatchApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/deals/api/basic_api.rb
lib/hubspot/discovery/crm/deals/api/basic_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Deals class BasicApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/deals/api/search_api.rb
lib/hubspot/discovery/crm/deals/api/search_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Deals class SearchApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/lists/client.rb
lib/hubspot/discovery/crm/lists/client.rb
require_relative '../../base_module_client' module Hubspot module Discovery module Crm module Lists class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ folders lists mapping memberships ].freeze end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/lists/api/folders_api.rb
lib/hubspot/discovery/crm/lists/api/folders_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Lists class FoldersApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/lists/api/mapping_api.rb
lib/hubspot/discovery/crm/lists/api/mapping_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Lists class MappingApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/lists/api/lists_api.rb
lib/hubspot/discovery/crm/lists/api/lists_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Lists class ListsApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/lists/api/memberships_api.rb
lib/hubspot/discovery/crm/lists/api/memberships_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Lists class MembershipsApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/line_items/client.rb
lib/hubspot/discovery/crm/line_items/client.rb
require_relative '../../base_module_client' module Hubspot module Discovery module Crm module LineItems class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ basic batch search ].freeze end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/line_items/api/batch_api.rb
lib/hubspot/discovery/crm/line_items/api/batch_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module LineItems class BatchApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/line_items/api/basic_api.rb
lib/hubspot/discovery/crm/line_items/api/basic_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module LineItems class BasicApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/line_items/api/search_api.rb
lib/hubspot/discovery/crm/line_items/api/search_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module LineItems class SearchApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/extensions/client.rb
lib/hubspot/discovery/crm/extensions/client.rb
require_relative '../../base_module_client' module Hubspot module Discovery module Crm module Extensions class Client include Hubspot::Discovery::BaseModuleClient def api_modules %i[ calling cards videoconferencing ].freeze end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/extensions/videoconferencing/client.rb
lib/hubspot/discovery/crm/extensions/videoconferencing/client.rb
require_relative '../../../base_module_client' module Hubspot module Discovery module Crm module Extensions module Videoconferencing class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ settings ].freeze end end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/extensions/videoconferencing/api/settings_api.rb
lib/hubspot/discovery/crm/extensions/videoconferencing/api/settings_api.rb
require_relative '../../../../base_api_client' module Hubspot module Discovery module Crm module Extensions module Videoconferencing class SettingsApi include Hubspot::Discovery::BaseApiClient end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/extensions/cards/client.rb
lib/hubspot/discovery/crm/extensions/cards/client.rb
require_relative '../../../base_module_client' module Hubspot module Discovery module Crm module Extensions module Cards class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ cards sample_response ].freeze end end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/extensions/cards/api/cards_api.rb
lib/hubspot/discovery/crm/extensions/cards/api/cards_api.rb
require_relative '../../../../base_api_client' module Hubspot module Discovery module Crm module Extensions module Cards class CardsApi include Hubspot::Discovery::BaseApiClient end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/extensions/cards/api/sample_response_api.rb
lib/hubspot/discovery/crm/extensions/cards/api/sample_response_api.rb
require_relative '../../../../base_api_client' module Hubspot module Discovery module Crm module Extensions module Cards class SampleResponseApi include Hubspot::Discovery::BaseApiClient end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/extensions/calling/client.rb
lib/hubspot/discovery/crm/extensions/calling/client.rb
require_relative '../../../base_module_client' module Hubspot module Discovery module Crm module Extensions module Calling class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ channel_connection_settings recording_settings settings ].freeze end end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/extensions/calling/api/recording_settings_api.rb
lib/hubspot/discovery/crm/extensions/calling/api/recording_settings_api.rb
require_relative '../../../../base_api_client' module Hubspot module Discovery module Crm module Extensions module Calling class RecordingSettingsApi include Hubspot::Discovery::BaseApiClient end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/extensions/calling/api/channel_connection_settings_api.rb
lib/hubspot/discovery/crm/extensions/calling/api/channel_connection_settings_api.rb
require_relative '../../../../base_api_client' module Hubspot module Discovery module Crm module Extensions module Calling class ChannelConnectionSettingsApi include Hubspot::Discovery::BaseApiClient end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/extensions/calling/api/settings_api.rb
lib/hubspot/discovery/crm/extensions/calling/api/settings_api.rb
require_relative '../../../../base_api_client' module Hubspot module Discovery module Crm module Extensions module Calling class SettingsApi include Hubspot::Discovery::BaseApiClient end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/owners/client.rb
lib/hubspot/discovery/crm/owners/client.rb
require_relative '../../base_module_client' module Hubspot module Discovery module Crm module Owners class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ owners ].freeze end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/owners/api/owners_api.rb
lib/hubspot/discovery/crm/owners/api/owners_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Owners class OwnersApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/pipelines/client.rb
lib/hubspot/discovery/crm/pipelines/client.rb
require_relative '../../base_module_client' module Hubspot module Discovery module Crm module Pipelines class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ pipeline_stages pipeline_stage_audits pipelines pipeline_audits ].freeze end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/pipelines/api/pipeline_audits_api.rb
lib/hubspot/discovery/crm/pipelines/api/pipeline_audits_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Pipelines class PipelineAuditsApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/pipelines/api/pipeline_stage_audits_api.rb
lib/hubspot/discovery/crm/pipelines/api/pipeline_stage_audits_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Pipelines class PipelineStageAuditsApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/pipelines/api/pipelines_api.rb
lib/hubspot/discovery/crm/pipelines/api/pipelines_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Pipelines class PipelinesApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/pipelines/api/pipeline_stages_api.rb
lib/hubspot/discovery/crm/pipelines/api/pipeline_stages_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Pipelines class PipelineStagesApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/quotes/client.rb
lib/hubspot/discovery/crm/quotes/client.rb
require_relative '../../base_module_client' module Hubspot module Discovery module Crm module Quotes class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ basic batch search ].freeze end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/quotes/api/batch_api.rb
lib/hubspot/discovery/crm/quotes/api/batch_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Quotes class BatchApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/quotes/api/basic_api.rb
lib/hubspot/discovery/crm/quotes/api/basic_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Quotes class BasicApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/quotes/api/search_api.rb
lib/hubspot/discovery/crm/quotes/api/search_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Quotes class SearchApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/properties/client.rb
lib/hubspot/discovery/crm/properties/client.rb
require_relative '../../base_module_client' module Hubspot module Discovery module Crm module Properties class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ batch core groups ].freeze end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/properties/api/batch_api.rb
lib/hubspot/discovery/crm/properties/api/batch_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Properties class BatchApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/properties/api/groups_api.rb
lib/hubspot/discovery/crm/properties/api/groups_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Properties class GroupsApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/properties/api/core_api.rb
lib/hubspot/discovery/crm/properties/api/core_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Properties class CoreApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/companies/client.rb
lib/hubspot/discovery/crm/companies/client.rb
require_relative '../../base_module_client' module Hubspot module Discovery module Crm module Companies class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ basic batch search ].freeze end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/companies/api/batch_api.rb
lib/hubspot/discovery/crm/companies/api/batch_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Companies class BatchApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/companies/api/basic_api.rb
lib/hubspot/discovery/crm/companies/api/basic_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Companies class BasicApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/companies/api/search_api.rb
lib/hubspot/discovery/crm/companies/api/search_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Companies class SearchApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/products/client.rb
lib/hubspot/discovery/crm/products/client.rb
require_relative '../../base_module_client' module Hubspot module Discovery module Crm module Products class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ basic batch search ].freeze end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/products/api/batch_api.rb
lib/hubspot/discovery/crm/products/api/batch_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Products class BatchApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/products/api/basic_api.rb
lib/hubspot/discovery/crm/products/api/basic_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Products class BasicApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/products/api/search_api.rb
lib/hubspot/discovery/crm/products/api/search_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Products class SearchApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/commerce/client.rb
lib/hubspot/discovery/crm/commerce/client.rb
require_relative '../../base_module_client' module Hubspot module Discovery module Crm module Commerce class Client include Hubspot::Discovery::BaseModuleClient def api_modules %i[ invoices ].freeze end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/commerce/invoices/client.rb
lib/hubspot/discovery/crm/commerce/invoices/client.rb
require_relative '../../../base_module_client' module Hubspot module Discovery module Crm module Commerce module Invoices class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ basic batch search ].freeze end end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/commerce/invoices/api/batch_api.rb
lib/hubspot/discovery/crm/commerce/invoices/api/batch_api.rb
require_relative '../../../../base_api_client' module Hubspot module Discovery module Crm module Commerce module Invoices class BatchApi include Hubspot::Discovery::BaseApiClient end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/commerce/invoices/api/basic_api.rb
lib/hubspot/discovery/crm/commerce/invoices/api/basic_api.rb
require_relative '../../../../base_api_client' module Hubspot module Discovery module Crm module Commerce module Invoices class BasicApi include Hubspot::Discovery::BaseApiClient end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/commerce/invoices/api/search_api.rb
lib/hubspot/discovery/crm/commerce/invoices/api/search_api.rb
require_relative '../../../../base_api_client' module Hubspot module Discovery module Crm module Commerce module Invoices class SearchApi include Hubspot::Discovery::BaseApiClient end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/contacts/client.rb
lib/hubspot/discovery/crm/contacts/client.rb
require_relative '../../base_module_client' module Hubspot module Discovery module Crm module Contacts class Client include Hubspot::Discovery::BaseModuleClient def api_classes %i[ basic batch search ].freeze end end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false
HubSpot/hubspot-api-ruby
https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/lib/hubspot/discovery/crm/contacts/api/batch_api.rb
lib/hubspot/discovery/crm/contacts/api/batch_api.rb
require_relative '../../../base_api_client' module Hubspot module Discovery module Crm module Contacts class BatchApi include Hubspot::Discovery::BaseApiClient end end end end end
ruby
Apache-2.0
75a9afa65e9789fbe6ff711066d798ca0c10f432
2026-01-04T17:55:03.682567Z
false