Class: HighLevel::Resources::Base
- Inherits:
-
Object
- Object
- HighLevel::Resources::Base
- Defined in:
- lib/high_level/resources/base.rb
Overview
Base class every generated resource inherits from. Owns the single #request entry point that generated methods delegate to. All logic — auth resolution, error mapping, refresh-on-401 — lives in the middleware stack on client.connection; this class is glue.
Direct Known Subclasses
AdManager, AffiliateManager, AgentStudio, Associations, Blogs, BrandBoards, Businesses, Calendars, Campaigns, Companies, Contacts, ConversationAi, Conversations, Courses, CustomFields, CustomMenus, EmailIsv, Emails, Forms, Funnels, Invoices, KnowledgeBase, Links, Locations, Marketplace, Medias, Objects, Opportunities, Payments, PhoneSystem, Products, Proposals, SaasApi, Snapshots, SocialMediaPosting, Store, Surveys, Users, VoiceAi, Workflows
Instance Method Summary collapse
-
#initialize(client) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(client) ⇒ Base
Returns a new instance of Base.
15 16 17 |
# File 'lib/high_level/resources/base.rb', line 15 def initialize(client) @client = client end |