chartmogul-ruby 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +1 -1
- data/changelog.md +10 -0
- data/fixtures/vcr_cassettes/ChartMogul_Contact/API_Interactions/creates_contact_correctly.yml +134 -0
- data/fixtures/vcr_cassettes/ChartMogul_Contact/API_Interactions/destroys_contact_correctly.yml +99 -0
- data/fixtures/vcr_cassettes/ChartMogul_Contact/API_Interactions/merges_contact_correctly.yml +105 -0
- data/fixtures/vcr_cassettes/ChartMogul_Contact/API_Interactions/paginates_correctly.yml +133 -0
- data/fixtures/vcr_cassettes/ChartMogul_Contact/API_Interactions/updates_contact_correctly.yml +102 -0
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/creates_a_contact_belonging_to_the_customer_correctly.yml +72 -0
- data/fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/lists_the_contacts_belonging_to_the_customer_correctly.yml +72 -0
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_ARPA/behaves_like_Metrics_API_resource/should_have_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_ARR/behaves_like_Metrics_API_resource/should_have_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_ASP/behaves_like_Metrics_API_resource/should_have_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_AllKeyMetric/should_have_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_AllKeyMetric/should_have_summary.yml +42 -0
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_CustomerChurnRate/behaves_like_Metrics_API_resource/should_have_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_CustomerCount/behaves_like_Metrics_API_resource/should_have_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_LTV/behaves_like_Metrics_API_resource/should_have_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_MRR/should_have_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_Metrics_MRRChurnRate/behaves_like_Metrics_API_resource/should_have_entries.yml +1 -1
- data/fixtures/vcr_cassettes/ChartMogul_SubscriptionEvent/API_interactions/creates_a_new_subscription_event.yml +320 -0
- data/fixtures/vcr_cassettes/ChartMogul_SubscriptionEvent/API_interactions/deletes_the_subscription_event.yml +377 -0
- data/fixtures/vcr_cassettes/ChartMogul_SubscriptionEvent/API_interactions/lists_all_subscription_events.yml +320 -0
- data/fixtures/vcr_cassettes/ChartMogul_SubscriptionEvent/API_interactions/updates_the_subscription_event.yml +377 -0
- data/lib/chartmogul/api/actions/destroy_with_params.rb +29 -0
- data/lib/chartmogul/api_resource.rb +1 -1
- data/lib/chartmogul/concerns/pageable_with_cursor.rb +14 -0
- data/lib/chartmogul/concerns/summary_all.rb +21 -0
- data/lib/chartmogul/contact.rb +69 -0
- data/lib/chartmogul/customer.rb +8 -0
- data/lib/chartmogul/metrics/all_key_metrics.rb +9 -0
- data/lib/chartmogul/metrics/arpa.rb +1 -0
- data/lib/chartmogul/metrics/arr.rb +1 -0
- data/lib/chartmogul/metrics/asp.rb +1 -0
- data/lib/chartmogul/metrics/customer_churn_rate.rb +1 -0
- data/lib/chartmogul/metrics/customer_count.rb +1 -0
- data/lib/chartmogul/metrics/ltv.rb +1 -0
- data/lib/chartmogul/metrics/mrr.rb +1 -0
- data/lib/chartmogul/metrics/mrr_churn_rate.rb +1 -0
- data/lib/chartmogul/subscription_event.rb +62 -0
- data/lib/chartmogul/summary_all.rb +30 -0
- data/lib/chartmogul/version.rb +1 -1
- data/lib/chartmogul.rb +6 -0
- metadata +21 -3
@@ -0,0 +1,29 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module ChartMogul
|
4
|
+
module API
|
5
|
+
module Actions
|
6
|
+
module DestroyWithParams
|
7
|
+
def self.included(base)
|
8
|
+
base.extend ClassMethods
|
9
|
+
end
|
10
|
+
|
11
|
+
def destroy_with_params!
|
12
|
+
handling_errors do
|
13
|
+
connection.delete(resource_path.path, instance_attributes)
|
14
|
+
end
|
15
|
+
true
|
16
|
+
end
|
17
|
+
|
18
|
+
module ClassMethods
|
19
|
+
def destroy_with_params!(options = {})
|
20
|
+
handling_errors do
|
21
|
+
connection.delete(resource_path.path, options)
|
22
|
+
end
|
23
|
+
true
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -89,7 +89,7 @@ module ChartMogul
|
|
89
89
|
private
|
90
90
|
|
91
91
|
def self.build_connection
|
92
|
-
Faraday.new(url: ChartMogul.api_base) do |faraday|
|
92
|
+
Faraday.new(url: ChartMogul.api_base, headers: { 'User-Agent' => "chartmogul-ruby/#{ChartMogul::VERSION}" }) do |faraday|
|
93
93
|
faraday.use Faraday::Request::BasicAuthentication, ChartMogul.api_key, ''
|
94
94
|
faraday.use Faraday::Response::RaiseError
|
95
95
|
faraday.request :retry, max: ChartMogul.max_retries, retry_statuses: RETRY_STATUSES,
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module ChartMogul
|
4
|
+
module Concerns
|
5
|
+
module SummaryAll
|
6
|
+
def self.included(base)
|
7
|
+
base.send :prepend, InstanceMethods
|
8
|
+
|
9
|
+
base.instance_eval do
|
10
|
+
readonly_attr :summary
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
module InstanceMethods
|
15
|
+
def set_summary(summary_attributes)
|
16
|
+
@summary = ChartMogul::SummaryAll.new_from_json(summary_attributes)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module ChartMogul
|
4
|
+
class Contact < APIResource
|
5
|
+
set_resource_name 'Contact'
|
6
|
+
set_resource_path '/v1/contacts'
|
7
|
+
set_immutable_keys([:custom])
|
8
|
+
|
9
|
+
readonly_attr :uuid
|
10
|
+
|
11
|
+
writeable_attr :customer_uuid
|
12
|
+
writeable_attr :data_source_uuid
|
13
|
+
writeable_attr :customer_external_id
|
14
|
+
writeable_attr :position
|
15
|
+
writeable_attr :first_name
|
16
|
+
writeable_attr :last_name
|
17
|
+
writeable_attr :title
|
18
|
+
writeable_attr :email
|
19
|
+
writeable_attr :phone
|
20
|
+
writeable_attr :linked_in
|
21
|
+
writeable_attr :twitter
|
22
|
+
writeable_attr :notes
|
23
|
+
writeable_attr :custom
|
24
|
+
|
25
|
+
include API::Actions::Create
|
26
|
+
include API::Actions::Custom
|
27
|
+
include API::Actions::Destroy
|
28
|
+
include API::Actions::Retrieve
|
29
|
+
include API::Actions::Update
|
30
|
+
|
31
|
+
def self.all(options = {})
|
32
|
+
Contacts.all(options)
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.merge!(into_uuid:, from_uuid:)
|
36
|
+
custom!(:post, "/v1/contacts/#{into_uuid}/merge/#{from_uuid}")
|
37
|
+
end
|
38
|
+
|
39
|
+
def serialize_for_write
|
40
|
+
super.tap do |attributes|
|
41
|
+
attributes.clone.each do |attribute_name, attribute_value|
|
42
|
+
if attribute_name == :custom && attribute_value.is_a?(Hash)
|
43
|
+
payload = attribute_value.each_with_object([]) do |custom_value, arr|
|
44
|
+
key, value = custom_value
|
45
|
+
arr << { key: key, value: value }
|
46
|
+
end
|
47
|
+
attributes[:custom] = payload
|
48
|
+
else
|
49
|
+
attributes[attribute_name] = attribute_value
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
class Contacts < APIResource
|
57
|
+
set_resource_name 'Contacts'
|
58
|
+
set_resource_path '/v1/contacts'
|
59
|
+
|
60
|
+
include Concerns::Entries
|
61
|
+
include Concerns::PageableWithCursor
|
62
|
+
|
63
|
+
set_entry_class Contact
|
64
|
+
|
65
|
+
def next(options = {})
|
66
|
+
Contacts.all(options.merge(cursor: cursor))
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
data/lib/chartmogul/customer.rb
CHANGED
@@ -65,6 +65,14 @@ module ChartMogul
|
|
65
65
|
@invoices = ChartMogul::CustomerInvoices.new(customer_uuid: uuid, invoices: invoices_array)
|
66
66
|
end
|
67
67
|
|
68
|
+
def contacts(options = {})
|
69
|
+
Contacts.all(options.merge(customer_uuid: uuid))
|
70
|
+
end
|
71
|
+
|
72
|
+
def create_contact(options = {})
|
73
|
+
Contact.create!(options.merge(customer_uuid: uuid))
|
74
|
+
end
|
75
|
+
|
68
76
|
# Enrichment
|
69
77
|
def tags
|
70
78
|
@attributes[:tags]
|
@@ -12,6 +12,14 @@ module ChartMogul
|
|
12
12
|
readonly_attr :ltv
|
13
13
|
readonly_attr :mrr
|
14
14
|
readonly_attr :mrr_churn_rate
|
15
|
+
readonly_attr :arpa_percentage_change
|
16
|
+
readonly_attr :arr_percentage_change
|
17
|
+
readonly_attr :asp_percentage_change
|
18
|
+
readonly_attr :customer_churn_rate_percentage_change
|
19
|
+
readonly_attr :customers_percentage_change
|
20
|
+
readonly_attr :ltv_percentage_change
|
21
|
+
readonly_attr :mrr_percentage_change
|
22
|
+
readonly_attr :mrr_churn_rate_percentage_change
|
15
23
|
end
|
16
24
|
|
17
25
|
class AllKeyMetrics < APIResource
|
@@ -19,6 +27,7 @@ module ChartMogul
|
|
19
27
|
set_resource_path '/v1/metrics/all'
|
20
28
|
|
21
29
|
include Concerns::Entries
|
30
|
+
include Concerns::SummaryAll
|
22
31
|
|
23
32
|
set_entry_class AllKeyMetric
|
24
33
|
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module ChartMogul
|
4
|
+
class SubscriptionEvent < APIResource
|
5
|
+
set_resource_name 'SubscriptionEvent'
|
6
|
+
set_resource_path '/v1/subscription_events'
|
7
|
+
|
8
|
+
readonly_attr :id
|
9
|
+
writeable_attr :data_source_uuid
|
10
|
+
writeable_attr :customer_external_id
|
11
|
+
writeable_attr :subscription_set_external_id
|
12
|
+
writeable_attr :subscription_external_id
|
13
|
+
writeable_attr :plan_external_id
|
14
|
+
writeable_attr :event_date
|
15
|
+
writeable_attr :effective_date
|
16
|
+
writeable_attr :event_type
|
17
|
+
writeable_attr :external_id
|
18
|
+
readonly_attr :errors
|
19
|
+
readonly_attr :created_at
|
20
|
+
readonly_attr :updated_at
|
21
|
+
writeable_attr :quantity
|
22
|
+
writeable_attr :currency
|
23
|
+
writeable_attr :amount_in_cents
|
24
|
+
writeable_attr :tax_amount_in_cents
|
25
|
+
writeable_attr :retracted_event_id
|
26
|
+
|
27
|
+
include API::Actions::Custom
|
28
|
+
include API::Actions::DestroyWithParams
|
29
|
+
|
30
|
+
def self.all(options = {})
|
31
|
+
SubscriptionEvents.all(options)
|
32
|
+
end
|
33
|
+
|
34
|
+
def create!
|
35
|
+
custom!(:post, resource_path.path, subscription_event: instance_attributes)
|
36
|
+
end
|
37
|
+
|
38
|
+
def update!(attrs)
|
39
|
+
custom!(:patch, resource_path.path, subscription_event: attrs.merge(id: instance_attributes[:id]))
|
40
|
+
end
|
41
|
+
|
42
|
+
def destroy!
|
43
|
+
handling_errors do
|
44
|
+
connection.delete(resource_path.path, subscription_event: { id: instance_attributes[:id] })
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
class SubscriptionEvents < APIResource
|
50
|
+
set_resource_name 'SubscriptionEvents'
|
51
|
+
set_resource_path '/v1/subscription_events'
|
52
|
+
|
53
|
+
set_resource_root_key :subscription_events
|
54
|
+
|
55
|
+
writeable_attr :meta
|
56
|
+
|
57
|
+
include API::Actions::All
|
58
|
+
include Concerns::Entries
|
59
|
+
|
60
|
+
set_entry_class SubscriptionEvent
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module ChartMogul
|
4
|
+
class SummaryAll < ChartMogul::Object
|
5
|
+
readonly_attr :current_arpa
|
6
|
+
readonly_attr :current_arr
|
7
|
+
readonly_attr :current_asp
|
8
|
+
readonly_attr :current_customer_churn_rate
|
9
|
+
readonly_attr :current_customers
|
10
|
+
readonly_attr :current_ltv
|
11
|
+
readonly_attr :current_mrr
|
12
|
+
readonly_attr :current_mrr_churn_rate
|
13
|
+
readonly_attr :previous_arpa
|
14
|
+
readonly_attr :previous_arr
|
15
|
+
readonly_attr :previous_asp
|
16
|
+
readonly_attr :previous_customer_churn_rate
|
17
|
+
readonly_attr :previous_customers
|
18
|
+
readonly_attr :previous_ltv
|
19
|
+
readonly_attr :previous_mrr
|
20
|
+
readonly_attr :previous_mrr_churn_rate
|
21
|
+
readonly_attr :arpa_percentage_change
|
22
|
+
readonly_attr :arr_percentage_change
|
23
|
+
readonly_attr :asp_percentage_change
|
24
|
+
readonly_attr :customer_churn_rate_percentage_change
|
25
|
+
readonly_attr :customers_percentage_change
|
26
|
+
readonly_attr :ltv_percentage_change
|
27
|
+
readonly_attr :mrr_percentage_change
|
28
|
+
readonly_attr :mrr_churn_rate_percentage_change
|
29
|
+
end
|
30
|
+
end
|
data/lib/chartmogul/version.rb
CHANGED
data/lib/chartmogul.rb
CHANGED
@@ -25,11 +25,13 @@ require 'chartmogul/object'
|
|
25
25
|
require 'chartmogul/resource_path'
|
26
26
|
require 'chartmogul/api_resource'
|
27
27
|
require 'chartmogul/summary'
|
28
|
+
require 'chartmogul/summary_all'
|
28
29
|
|
29
30
|
require 'chartmogul/api/actions/all'
|
30
31
|
require 'chartmogul/api/actions/create'
|
31
32
|
require 'chartmogul/api/actions/custom'
|
32
33
|
require 'chartmogul/api/actions/destroy'
|
34
|
+
require 'chartmogul/api/actions/destroy_with_params'
|
33
35
|
require 'chartmogul/api/actions/retrieve'
|
34
36
|
require 'chartmogul/api/actions/update'
|
35
37
|
|
@@ -41,20 +43,24 @@ require 'chartmogul/transactions/refund'
|
|
41
43
|
|
42
44
|
require 'chartmogul/concerns/entries'
|
43
45
|
require 'chartmogul/concerns/summary'
|
46
|
+
require 'chartmogul/concerns/summary_all'
|
44
47
|
require 'chartmogul/concerns/pageable'
|
45
48
|
require 'chartmogul/concerns/pageable2'
|
46
49
|
require 'chartmogul/concerns/pageable_with_anchor'
|
50
|
+
require 'chartmogul/concerns/pageable_with_cursor'
|
47
51
|
|
48
52
|
require 'chartmogul/subscription'
|
49
53
|
require 'chartmogul/invoice'
|
50
54
|
require 'chartmogul/customer_invoices'
|
51
55
|
require 'chartmogul/customer'
|
56
|
+
require 'chartmogul/contact'
|
52
57
|
require 'chartmogul/data_source'
|
53
58
|
require 'chartmogul/ping'
|
54
59
|
require 'chartmogul/plan'
|
55
60
|
require 'chartmogul/plan_group'
|
56
61
|
require 'chartmogul/plan_groups/plans'
|
57
62
|
require 'chartmogul/account'
|
63
|
+
require 'chartmogul/subscription_event'
|
58
64
|
|
59
65
|
require 'chartmogul/metrics/arpa'
|
60
66
|
require 'chartmogul/metrics/arr'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chartmogul-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Petr Kopac
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -186,11 +186,18 @@ files:
|
|
186
186
|
- fixtures/vcr_cassettes/ChartMogul_APIResource/connection/works_in_a_threaded_environment.yml
|
187
187
|
- fixtures/vcr_cassettes/ChartMogul_APIResource/connection/works_when_credentials_are_updated.yml
|
188
188
|
- fixtures/vcr_cassettes/ChartMogul_Account/returns_details_of_current_account.yml
|
189
|
+
- fixtures/vcr_cassettes/ChartMogul_Contact/API_Interactions/creates_contact_correctly.yml
|
190
|
+
- fixtures/vcr_cassettes/ChartMogul_Contact/API_Interactions/destroys_contact_correctly.yml
|
191
|
+
- fixtures/vcr_cassettes/ChartMogul_Contact/API_Interactions/merges_contact_correctly.yml
|
192
|
+
- fixtures/vcr_cassettes/ChartMogul_Contact/API_Interactions/paginates_correctly.yml
|
193
|
+
- fixtures/vcr_cassettes/ChartMogul_Contact/API_Interactions/updates_contact_correctly.yml
|
189
194
|
- fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/adds_custom_attributes.yml
|
190
195
|
- fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/adds_required_tags.yml
|
191
196
|
- fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/can_page_through_search_endpoint.yml
|
192
197
|
- fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/correctly_handles_a_422_response.yml
|
193
198
|
- fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/correctly_interracts_with_the_API.yml
|
199
|
+
- fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/creates_a_contact_belonging_to_the_customer_correctly.yml
|
200
|
+
- fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/lists_the_contacts_belonging_to_the_customer_correctly.yml
|
194
201
|
- fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/merges_customers.yml
|
195
202
|
- fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/raises_401_if_invalid_credentials.yml
|
196
203
|
- fixtures/vcr_cassettes/ChartMogul_Customer/API_Interactions/raises_404_if_no_customers_found.yml
|
@@ -228,6 +235,7 @@ files:
|
|
228
235
|
- fixtures/vcr_cassettes/ChartMogul_Metrics_Activity/behaves_like_PageableWithAnchor/should_be_pageable.yml
|
229
236
|
- fixtures/vcr_cassettes/ChartMogul_Metrics_Activity/should_have_Activity_entries.yml
|
230
237
|
- fixtures/vcr_cassettes/ChartMogul_Metrics_AllKeyMetric/should_have_entries.yml
|
238
|
+
- fixtures/vcr_cassettes/ChartMogul_Metrics_AllKeyMetric/should_have_summary.yml
|
231
239
|
- fixtures/vcr_cassettes/ChartMogul_Metrics_CustomerChurnRate/behaves_like_Metrics_API_resource/behaves_like_Summary/should_have_summary.yml
|
232
240
|
- fixtures/vcr_cassettes/ChartMogul_Metrics_CustomerChurnRate/behaves_like_Metrics_API_resource/should_have_entries.yml
|
233
241
|
- fixtures/vcr_cassettes/ChartMogul_Metrics_CustomerCount/behaves_like_Metrics_API_resource/behaves_like_Summary/should_have_summary.yml
|
@@ -267,6 +275,10 @@ files:
|
|
267
275
|
- fixtures/vcr_cassettes/ChartMogul_Subscription/_update_cancellation_dates/when_array_includes_invalid_entries/raises_an_exception.yml
|
268
276
|
- fixtures/vcr_cassettes/ChartMogul_Subscription/_update_cancellation_dates/when_array_includes_valid_entries/is_setting_the_cancellation_dates_of_the_subscription.yml
|
269
277
|
- fixtures/vcr_cassettes/ChartMogul_Subscription/_update_cancellation_dates/when_array_is_empty/makes_an_API_call_and_removes_the_cancellation_dates.yml
|
278
|
+
- fixtures/vcr_cassettes/ChartMogul_SubscriptionEvent/API_interactions/creates_a_new_subscription_event.yml
|
279
|
+
- fixtures/vcr_cassettes/ChartMogul_SubscriptionEvent/API_interactions/deletes_the_subscription_event.yml
|
280
|
+
- fixtures/vcr_cassettes/ChartMogul_SubscriptionEvent/API_interactions/lists_all_subscription_events.yml
|
281
|
+
- fixtures/vcr_cassettes/ChartMogul_SubscriptionEvent/API_interactions/updates_the_subscription_event.yml
|
270
282
|
- fixtures/vcr_cassettes/ChartMogul_Transactions_Payment/API_Interactions/correctly_interracts_with_the_API.yml
|
271
283
|
- lib/chartmogul.rb
|
272
284
|
- lib/chartmogul/account.rb
|
@@ -274,6 +286,7 @@ files:
|
|
274
286
|
- lib/chartmogul/api/actions/create.rb
|
275
287
|
- lib/chartmogul/api/actions/custom.rb
|
276
288
|
- lib/chartmogul/api/actions/destroy.rb
|
289
|
+
- lib/chartmogul/api/actions/destroy_with_params.rb
|
277
290
|
- lib/chartmogul/api/actions/retrieve.rb
|
278
291
|
- lib/chartmogul/api/actions/update.rb
|
279
292
|
- lib/chartmogul/api_resource.rb
|
@@ -281,9 +294,12 @@ files:
|
|
281
294
|
- lib/chartmogul/concerns/pageable.rb
|
282
295
|
- lib/chartmogul/concerns/pageable2.rb
|
283
296
|
- lib/chartmogul/concerns/pageable_with_anchor.rb
|
297
|
+
- lib/chartmogul/concerns/pageable_with_cursor.rb
|
284
298
|
- lib/chartmogul/concerns/summary.rb
|
299
|
+
- lib/chartmogul/concerns/summary_all.rb
|
285
300
|
- lib/chartmogul/config_attributes.rb
|
286
301
|
- lib/chartmogul/configuration.rb
|
302
|
+
- lib/chartmogul/contact.rb
|
287
303
|
- lib/chartmogul/customer.rb
|
288
304
|
- lib/chartmogul/customer_invoices.rb
|
289
305
|
- lib/chartmogul/data_source.rb
|
@@ -320,7 +336,9 @@ files:
|
|
320
336
|
- lib/chartmogul/plan_groups/plans.rb
|
321
337
|
- lib/chartmogul/resource_path.rb
|
322
338
|
- lib/chartmogul/subscription.rb
|
339
|
+
- lib/chartmogul/subscription_event.rb
|
323
340
|
- lib/chartmogul/summary.rb
|
341
|
+
- lib/chartmogul/summary_all.rb
|
324
342
|
- lib/chartmogul/transactions/payment.rb
|
325
343
|
- lib/chartmogul/transactions/refund.rb
|
326
344
|
- lib/chartmogul/utils/hash_snake_caser.rb
|
@@ -351,7 +369,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
351
369
|
- !ruby/object:Gem::Version
|
352
370
|
version: '0'
|
353
371
|
requirements: []
|
354
|
-
rubygems_version: 3.1.
|
372
|
+
rubygems_version: 3.1.4
|
355
373
|
signing_key:
|
356
374
|
specification_version: 4
|
357
375
|
summary: Chartmogul API Ruby Client
|