Sha256: 21b2d4b8ceccfe092c3b11443316fd125598c53ec71268bf6e26bf1c8d3d07d9
Contents?: true
Size: 529 Bytes
Versions: 12
Compression:
Stored size: 529 Bytes
Contents
module Services module Hubspot module Contacts class Update def initialize(id, properties) @id = id @properties = properties end def call basic_api = ::Hubspot::Crm::Contacts::BasicApi.new basic_api.update(@id, 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