Sha256: 40a3a17c446b775bf0e2b9252dce171cc9acddfbf14c21be10a974e8250892fb
Contents?: true
Size: 503 Bytes
Versions: 12
Compression:
Stored size: 503 Bytes
Contents
module Services module Hubspot module Contacts class Create def initialize(properties) @properties = properties end def call create_api = ::Hubspot::Crm::Contacts::BasicApi.new create_api.create(contact_input, auth_names: 'oauth2') end private def contact_input @contact_input ||= ::Hubspot::Crm::Contacts::SimplePublicObjectInput.new(properties: @properties) end end end end end
Version data entries
12 entries across 6 versions & 1 rubygems