Sha256: 226eaa3ca87f9c80b1ce67dc4e4080cc629ef3fb30423e8346aab378311f49f3
Contents?: true
Size: 509 Bytes
Versions: 28
Compression:
Stored size: 509 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(body: 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
28 entries across 14 versions & 1 rubygems