Class: Pinnacle::Client

Inherits:
PinnacleBaseClient show all
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

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

#messagesPinnacle::Wrapper::Messages::Client

Returns an enhanced messages client with webhook processing support.



13
14
15
# File 'lib/pinnacle/pinnacle_client.rb', line 13

def messages
  @messages ||= Pinnacle::Wrapper::Messages::Client.new(client: @raw_client)
end

#toolsPinnacle::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