Class: Hubspot::Blogs::Posts::Comment

Inherits:
Hubspot::Base
  • Object
show all
Defined in:
app/models/hubspot/blogs/posts/comment.rb

Overview

This type of Comment will be instantiated when finding comments that belong to Posts

Class Method Summary collapse

Methods inherited from Hubspot::Base

connection, element_path, #to_json

Class Method Details

.collection_path(prefix_options = {}, query_options = nil) ⇒ Object



13
14
15
16
# File 'app/models/hubspot/blogs/posts/comment.rb', line 13

def collection_path(prefix_options = {}, query_options = nil)
  prefix_options, query_options = split_options(prefix_options) if query_options.nil?
  "#{prefix(prefix_options)}comments.#{format.extension}#{query_string(query_options)}"
end