lib/hubspot/topic.rb in hubspot-ruby-0.1.8 vs lib/hubspot/topic.rb in hubspot-ruby-0.2.0
- old
+ new
@@ -1,11 +1,11 @@
module Hubspot
#
# HubSpot Topics API
#
class Topic
- TOPICS_PATH = "/content/api/v2/topics"
- TOPIC_PATH = "/content/api/v2/topics/:topic_id"
+ TOPICS_PATH = "/blogs/v3/topics"
+ TOPIC_PATH = "/blogs/v3/topics/:topic_id"
class << self
# Lists the topics
# {https://developers.hubspot.com/docs/methods/blogv2/get_topics)
# @return [Hubspot::Topic] array of topics