Sha256: 9d43ef38b37800b5588891034da586fdd0644f685ad0979aa1115ad3e187f192
Contents?: true
Size: 519 Bytes
Versions: 20
Compression:
Stored size: 519 Bytes
Contents
module Services module Hubspot module Properties class Create def initialize(params) @params = params end def call core_api = ::Hubspot::Crm::Properties::CoreApi.new params = { auth_names: 'oauth2', body: property_create } core_api.create('contact',params) end private def property_create @property_create ||= ::Hubspot::Crm::Properties::PropertyCreate.new(@params) end end end end end
Version data entries
20 entries across 15 versions & 1 rubygems