Class: Hubspot::Form

Inherits:
Resource show all
Defined in:
lib/hubspot/form.rb

Constant Summary

Constants inherited from Resource

Resource::METADATA_FIELDS

Constants included from ResourceFilter::FilterGroupMethods

ResourceFilter::FilterGroupMethods::OPERATOR_MAP

Constants inherited from ApiClient

ApiClient::MAX_RETRIES, ApiClient::RETRY_WAIT_TIME

Instance Attribute Summary

Attributes inherited from Resource

#changes, #id, #metadata, #properties

Instance Method Summary collapse

Methods inherited from Resource

all, archive, batch_read, batch_read_all, #changes?, create, custom_properties, #delete, find, find!, find_by, find_by!, #initialize, #initialize_from_api, list, #method_missing, #persisted?, properties, property, read_only_properties, required_properties, #resource_name, resource_name, #respond_to_missing?, #save, #save!, search, select, updatable_properties, update, #update, #update_attributes, where

Methods included from ResourceFilter::FilterGroupMethods

#build_filter_groups, #extract_property_and_operator

Methods inherited from ApiClient

delete, get, #handle_response, handle_response, log_request, patch, post

Constructor Details

This class inherits a constructor from Hubspot::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Hubspot::Resource

Instance Method Details

#inspectObject

:nocov:



6
7
8
9
10
# File 'lib/hubspot/form.rb', line 6

def inspect
  "#<#{self.class.name} " \
  "@name=#{name}, " \
  "@fieldGroups=#{respond_to?('fieldGroups') ? fieldGroups.size : '-'}>"
end