Class: MetronomeSDK::Resources::V1
- Inherits:
-
Object
- Object
- MetronomeSDK::Resources::V1
show all
- Defined in:
- lib/metronome_sdk/resources/v1.rb,
lib/metronome_sdk/resources/v1/plans.rb,
lib/metronome_sdk/resources/v1/usage.rb,
lib/metronome_sdk/resources/v1/alerts.rb,
lib/metronome_sdk/resources/v1/invoices.rb,
lib/metronome_sdk/resources/v1/payments.rb,
lib/metronome_sdk/resources/v1/services.rb,
lib/metronome_sdk/resources/v1/settings.rb,
lib/metronome_sdk/resources/v1/contracts.rb,
lib/metronome_sdk/resources/v1/customers.rb,
lib/metronome_sdk/resources/v1/audit_logs.rb,
lib/metronome_sdk/resources/v1/dashboards.rb,
lib/metronome_sdk/resources/v1/credit_grants.rb,
lib/metronome_sdk/resources/v1/custom_fields.rb,
lib/metronome_sdk/resources/v1/pricing_units.rb,
lib/metronome_sdk/resources/v1/customers/plans.rb,
lib/metronome_sdk/resources/v1/billable_metrics.rb,
lib/metronome_sdk/resources/v1/customers/alerts.rb,
lib/metronome_sdk/resources/v1/customers/commits.rb,
lib/metronome_sdk/resources/v1/customers/credits.rb,
lib/metronome_sdk/resources/v1/contracts/products.rb,
lib/metronome_sdk/resources/v1/customers/invoices.rb,
lib/metronome_sdk/resources/v1/contracts/rate_cards.rb,
lib/metronome_sdk/resources/v1/customers/billing_config.rb,
lib/metronome_sdk/resources/v1/contracts/named_schedules.rb,
lib/metronome_sdk/resources/v1/customers/named_schedules.rb,
lib/metronome_sdk/resources/v1/contracts/rate_cards/rates.rb,
lib/metronome_sdk/resources/v1/settings/billing_providers.rb,
lib/metronome_sdk/resources/v1/contracts/rate_cards/product_orders.rb,
lib/metronome_sdk/resources/v1/contracts/rate_cards/named_schedules.rb
Defined Under Namespace
Classes: Alerts, AuditLogs, BillableMetrics, Contracts, CreditGrants, CustomFields, Customers, Dashboards, Invoices, Payments, Plans, PricingUnits, Services, Settings, Usage
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(client:) ⇒ V1
This method is part of a private API.
You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of V1.
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# File 'lib/metronome_sdk/resources/v1.rb', line 54
def initialize(client:)
@client = client
@alerts = MetronomeSDK::Resources::V1::Alerts.new(client: client)
@plans = MetronomeSDK::Resources::V1::Plans.new(client: client)
@credit_grants = MetronomeSDK::Resources::V1::CreditGrants.new(client: client)
@pricing_units = MetronomeSDK::Resources::V1::PricingUnits.new(client: client)
@customers = MetronomeSDK::Resources::V1::Customers.new(client: client)
@dashboards = MetronomeSDK::Resources::V1::Dashboards.new(client: client)
@usage = MetronomeSDK::Resources::V1::Usage.new(client: client)
@audit_logs = MetronomeSDK::Resources::V1::AuditLogs.new(client: client)
@custom_fields = MetronomeSDK::Resources::V1::CustomFields.new(client: client)
@billable_metrics = MetronomeSDK::Resources::V1::BillableMetrics.new(client: client)
@services = MetronomeSDK::Resources::V1::Services.new(client: client)
@invoices = MetronomeSDK::Resources::V1::Invoices.new(client: client)
@contracts = MetronomeSDK::Resources::V1::Contracts.new(client: client)
@payments = MetronomeSDK::Resources::V1::Payments.new(client: client)
@settings = MetronomeSDK::Resources::V1::Settings.new(client: client)
end
|
Instance Attribute Details
7
8
9
|
# File 'lib/metronome_sdk/resources/v1.rb', line 7
def alerts
@alerts
end
|
28
29
30
|
# File 'lib/metronome_sdk/resources/v1.rb', line 28
def audit_logs
@audit_logs
end
|
34
35
36
|
# File 'lib/metronome_sdk/resources/v1.rb', line 34
def billable_metrics
@billable_metrics
end
|
43
44
45
|
# File 'lib/metronome_sdk/resources/v1.rb', line 43
def contracts
@contracts
end
|
13
14
15
|
# File 'lib/metronome_sdk/resources/v1.rb', line 13
def credit_grants
@credit_grants
end
|
31
32
33
|
# File 'lib/metronome_sdk/resources/v1.rb', line 31
def custom_fields
@custom_fields
end
|
19
20
21
|
# File 'lib/metronome_sdk/resources/v1.rb', line 19
def customers
@customers
end
|
22
23
24
|
# File 'lib/metronome_sdk/resources/v1.rb', line 22
def dashboards
@dashboards
end
|
40
41
42
|
# File 'lib/metronome_sdk/resources/v1.rb', line 40
def invoices
@invoices
end
|
46
47
48
|
# File 'lib/metronome_sdk/resources/v1.rb', line 46
def payments
@payments
end
|
10
11
12
|
# File 'lib/metronome_sdk/resources/v1.rb', line 10
def plans
@plans
end
|
16
17
18
|
# File 'lib/metronome_sdk/resources/v1.rb', line 16
def pricing_units
@pricing_units
end
|
37
38
39
|
# File 'lib/metronome_sdk/resources/v1.rb', line 37
def services
@services
end
|
49
50
51
|
# File 'lib/metronome_sdk/resources/v1.rb', line 49
def settings
@settings
end
|
25
26
27
|
# File 'lib/metronome_sdk/resources/v1.rb', line 25
def usage
@usage
end
|