Class: Klaviyo::Client
- Inherits:
-
Object
- Object
- Klaviyo::Client
- Defined in:
- lib/klaviyo/client.rb
Direct Known Subclasses
Campaigns, DataPrivacy, EmailTemplates, Lists, Metrics, Profiles, Public
Constant Summary collapse
- BASE_API_URL =
'https://a.klaviyo.com/api'- V1_API =
'v1'- V2_API =
'v2'- KL_VERSION =
'2.3.0'- KL_USER_AGENT =
"Ruby_Klaviyo/#{KL_VERSION}"- HTTP_DELETE =
'delete'- HTTP_GET =
'get'- HTTP_POST =
'post'- HTTP_PUT =
'put'- ALL =
'all'- METRIC =
'metric'- METRICS =
'metrics'- TIMELINE =
'timeline'- DEFAULT_COUNT =
100- DEFAULT_PAGE =
0- DEFAULT_SORT_DESC =
'desc'- CONTENT_JSON =
'application/json'- CONTENT_URL_FORM =
'application/x-www-form-urlencoded'