Sha256: 2a8c1602d2ae43024b23f5358ddde8a68a269b95cc04f8f35eaa3a7da5d16079
Contents?: true
Size: 414 Bytes
Versions: 21
Compression:
Stored size: 414 Bytes
Contents
module Services module Hubspot module Contacts class GetById def initialize(id) @id = id end def call basic_api = ::Hubspot::Crm::Contacts::BasicApi.new basic_api.get_by_id( @id, auth_names: 'oauth2', properties: %w[email firstname lastname hubspot_owner_id] ) end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
hubspot-api-client-2.0.0 | sample-apps/oauth-app/app/lib/services/hubspot/contacts/get_by_id.rb |