Class: Pinnacle::Client
- Inherits:
-
PinnacleBaseClient
- Object
- PinnacleBaseClient
- Pinnacle::Client
- Defined in:
- lib/pinnacle/pinnacle_client.rb
Overview
Client class that extends PinnacleBaseClient with custom methods for webhook processing and file uploads.
Instance Method Summary collapse
-
#messages ⇒ Pinnacle::Wrapper::Messages::Client
Returns an enhanced messages client with webhook processing support.
-
#tools ⇒ Pinnacle::Wrapper::Tools::Client
Returns an enhanced tools client with file upload helper.
Methods inherited from PinnacleBaseClient
#audiences, #brands, #campaigns, #contacts, #conversations, #initialize, #phone_numbers, #rcs, #status, #webhooks
Constructor Details
This class inherits a constructor from Pinnacle::PinnacleBaseClient
Instance Method Details
#messages ⇒ Pinnacle::Wrapper::Messages::Client
Returns an enhanced messages client with webhook processing support.
13 14 15 |
# File 'lib/pinnacle/pinnacle_client.rb', line 13 def ||= Pinnacle::Wrapper::Messages::Client.new(client: @raw_client) end |
#tools ⇒ Pinnacle::Wrapper::Tools::Client
Returns an enhanced tools client with file upload helper.
20 21 22 |
# File 'lib/pinnacle/pinnacle_client.rb', line 20 def tools @tools ||= Pinnacle::Wrapper::Tools::Client.new(client: @raw_client) end |