files.com 1.1.671 → 1.1.672
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/action_log.md +1 -21
- data/docs/action_notification_export_result.md +0 -17
- data/docs/ai_assistant_personality.md +0 -14
- data/docs/ai_task.md +0 -14
- data/docs/api_key.md +1 -27
- data/docs/api_request_log.md +1 -21
- data/docs/app.md +0 -15
- data/docs/as2_incoming_message.md +0 -18
- data/docs/as2_outgoing_message.md +0 -18
- data/docs/as2_partner.md +0 -14
- data/docs/as2_station.md +0 -14
- data/docs/automation.md +1 -22
- data/docs/automation_log.md +1 -21
- data/docs/automation_run.md +0 -19
- data/docs/bandwidth_snapshot.md +0 -18
- data/docs/behavior.md +0 -14
- data/docs/bundle.md +1 -50
- data/docs/bundle_action.md +0 -25
- data/docs/bundle_download.md +0 -23
- data/docs/bundle_notification.md +0 -19
- data/docs/bundle_recipient.md +0 -21
- data/docs/bundle_registration.md +0 -61
- data/docs/chat_session.md +2 -14
- data/docs/child_site_management_policy.md +0 -9
- data/docs/clickwrap.md +0 -13
- data/docs/custom_domain.md +0 -13
- data/docs/desktop_configuration_profile.md +0 -14
- data/docs/dns_record.md +0 -9
- data/docs/email_incoming_message.md +0 -19
- data/docs/email_log.md +1 -20
- data/docs/event_channel.md +0 -14
- data/docs/event_delivery_attempt.md +0 -14
- data/docs/event_record.md +0 -19
- data/docs/event_subscription.md +0 -14
- data/docs/event_target.md +0 -14
- data/docs/exavault_api_request_log.md +1 -21
- data/docs/expectation.md +0 -14
- data/docs/expectation_evaluation.md +0 -14
- data/docs/expectation_incident.md +0 -14
- data/docs/external_event.md +0 -18
- data/docs/file.md +2 -90
- data/docs/file_migration.md +0 -32
- data/docs/file_migration_log.md +1 -20
- data/docs/file_upload_part.md +1 -3
- data/docs/folder.md +0 -20
- data/docs/form_field_set.md +0 -15
- data/docs/ftp_action_log.md +1 -21
- data/docs/gpg_key.md +0 -21
- data/docs/group.md +0 -19
- data/docs/group_user.md +2 -22
- data/docs/history.md +0 -85
- data/docs/history_export_result.md +0 -17
- data/docs/holiday_region.md +0 -9
- data/docs/inbound_s3_log.md +1 -21
- data/docs/inbox_recipient.md +0 -19
- data/docs/inbox_registration.md +0 -57
- data/docs/inbox_upload.md +0 -18
- data/docs/invoice.md +0 -9
- data/docs/ip_address.md +0 -59
- data/docs/key_lifecycle_rule.md +0 -14
- data/docs/lock.md +0 -15
- data/docs/message.md +0 -17
- data/docs/message_comment.md +0 -18
- data/docs/message_comment_reaction.md +0 -18
- data/docs/message_reaction.md +0 -17
- data/docs/metadata_category.md +0 -13
- data/docs/notification.md +0 -20
- data/docs/outbound_connection_log.md +1 -21
- data/docs/partner.md +0 -14
- data/docs/partner_channel.md +0 -14
- data/docs/partner_site_request.md +0 -14
- data/docs/payment.md +0 -9
- data/docs/pending_work_event.md +0 -18
- data/docs/permission.md +0 -22
- data/docs/preview.md +0 -57
- data/docs/project.md +0 -9
- data/docs/public_hosting_request_log.md +1 -21
- data/docs/public_key.md +0 -21
- data/docs/remote_bandwidth_snapshot.md +0 -18
- data/docs/remote_mount_backend.md +0 -13
- data/docs/remote_server.md +0 -233
- data/docs/remote_server_credential.md +0 -15
- data/docs/request.md +0 -17
- data/docs/restore.md +0 -14
- data/docs/scheduled_export.md +0 -15
- data/docs/scim_log.md +0 -13
- data/docs/session.md +1 -232
- data/docs/settings_change.md +0 -16
- data/docs/sftp_action_log.md +1 -21
- data/docs/sftp_host_key.md +0 -9
- data/docs/share_group.md +0 -15
- data/docs/siem_http_destination.md +0 -9
- data/docs/siem_http_destination_event.md +0 -18
- data/docs/site.md +0 -179
- data/docs/site_subdomain_redirect.md +0 -13
- data/docs/snapshot.md +0 -9
- data/docs/sso_event.md +0 -19
- data/docs/sso_strategy.md +0 -406
- data/docs/sync.md +0 -14
- data/docs/sync_log.md +1 -20
- data/docs/sync_run.md +0 -21
- data/docs/usage_daily_snapshot.md +0 -18
- data/docs/usage_snapshot.md +0 -9
- data/docs/user.md +2 -49
- data/docs/user_cipher_use.md +0 -21
- data/docs/user_lifecycle_rule.md +0 -14
- data/docs/user_request.md +0 -9
- data/docs/user_security_event.md +0 -18
- data/docs/user_sftp_client_use.md +0 -15
- data/docs/web_dav_action_log.md +1 -21
- data/docs/workspace.md +0 -15
- data/lib/files.com/models/action_log.rb +0 -24
- data/lib/files.com/models/action_notification_export_result.rb +0 -12
- data/lib/files.com/models/ai_assistant_personality.rb +0 -11
- data/lib/files.com/models/ai_task.rb +0 -11
- data/lib/files.com/models/api_key.rb +5 -39
- data/lib/files.com/models/api_request_log.rb +0 -24
- data/lib/files.com/models/app.rb +0 -13
- data/lib/files.com/models/as2_incoming_message.rb +0 -19
- data/lib/files.com/models/as2_outgoing_message.rb +0 -19
- data/lib/files.com/models/as2_partner.rb +0 -11
- data/lib/files.com/models/as2_station.rb +0 -11
- data/lib/files.com/models/automation.rb +0 -30
- data/lib/files.com/models/automation_log.rb +0 -24
- data/lib/files.com/models/automation_run.rb +0 -16
- data/lib/files.com/models/bandwidth_snapshot.rb +0 -19
- data/lib/files.com/models/behavior.rb +0 -11
- data/lib/files.com/models/bundle.rb +0 -52
- data/lib/files.com/models/bundle_action.rb +0 -25
- data/lib/files.com/models/bundle_download.rb +0 -23
- data/lib/files.com/models/bundle_notification.rb +0 -15
- data/lib/files.com/models/bundle_recipient.rb +0 -27
- data/lib/files.com/models/bundle_registration.rb +0 -125
- data/lib/files.com/models/chat_session.rb +5 -11
- data/lib/files.com/models/child_site_management_policy.rb +0 -5
- data/lib/files.com/models/clickwrap.rb +0 -9
- data/lib/files.com/models/custom_domain.rb +0 -9
- data/lib/files.com/models/desktop_configuration_profile.rb +0 -11
- data/lib/files.com/models/dns_record.rb +0 -5
- data/lib/files.com/models/email_incoming_message.rb +0 -21
- data/lib/files.com/models/email_log.rb +0 -22
- data/lib/files.com/models/event_channel.rb +0 -11
- data/lib/files.com/models/event_delivery_attempt.rb +0 -11
- data/lib/files.com/models/event_record.rb +0 -21
- data/lib/files.com/models/event_subscription.rb +0 -11
- data/lib/files.com/models/event_target.rb +0 -11
- data/lib/files.com/models/exavault_api_request_log.rb +0 -24
- data/lib/files.com/models/expectation.rb +0 -11
- data/lib/files.com/models/expectation_evaluation.rb +0 -11
- data/lib/files.com/models/expectation_incident.rb +0 -11
- data/lib/files.com/models/external_event.rb +0 -19
- data/lib/files.com/models/file.rb +0 -207
- data/lib/files.com/models/file_migration.rb +0 -27
- data/lib/files.com/models/file_migration_log.rb +0 -22
- data/lib/files.com/models/file_upload_part.rb +0 -5
- data/lib/files.com/models/folder.rb +0 -69
- data/lib/files.com/models/form_field_set.rb +0 -9
- data/lib/files.com/models/ftp_action_log.rb +0 -24
- data/lib/files.com/models/gpg_key.rb +0 -21
- data/lib/files.com/models/group.rb +0 -16
- data/lib/files.com/models/group_user.rb +1 -21
- data/lib/files.com/models/history.rb +0 -94
- data/lib/files.com/models/history_export_result.rb +0 -12
- data/lib/files.com/models/holiday_region.rb +0 -5
- data/lib/files.com/models/inbound_s3_log.rb +0 -24
- data/lib/files.com/models/inbox_recipient.rb +0 -25
- data/lib/files.com/models/inbox_registration.rb +0 -121
- data/lib/files.com/models/inbox_upload.rb +0 -19
- data/lib/files.com/models/invoice.rb +0 -5
- data/lib/files.com/models/ip_address.rb +0 -37
- data/lib/files.com/models/key_lifecycle_rule.rb +0 -11
- data/lib/files.com/models/lock.rb +0 -27
- data/lib/files.com/models/message.rb +0 -12
- data/lib/files.com/models/message_comment.rb +0 -14
- data/lib/files.com/models/message_comment_reaction.rb +0 -14
- data/lib/files.com/models/message_reaction.rb +0 -12
- data/lib/files.com/models/metadata_category.rb +0 -9
- data/lib/files.com/models/notification.rb +0 -18
- data/lib/files.com/models/outbound_connection_log.rb +0 -24
- data/lib/files.com/models/partner.rb +0 -11
- data/lib/files.com/models/partner_channel.rb +0 -11
- data/lib/files.com/models/partner_site_request.rb +0 -11
- data/lib/files.com/models/payment.rb +0 -5
- data/lib/files.com/models/pending_work_event.rb +0 -19
- data/lib/files.com/models/permission.rb +0 -22
- data/lib/files.com/models/preview.rb +0 -57
- data/lib/files.com/models/project.rb +0 -5
- data/lib/files.com/models/public_hosting_request_log.rb +0 -24
- data/lib/files.com/models/public_key.rb +0 -21
- data/lib/files.com/models/remote_bandwidth_snapshot.rb +0 -19
- data/lib/files.com/models/remote_mount_backend.rb +0 -9
- data/lib/files.com/models/remote_server.rb +0 -297
- data/lib/files.com/models/remote_server_credential.rb +0 -13
- data/lib/files.com/models/request.rb +0 -12
- data/lib/files.com/models/restore.rb +0 -11
- data/lib/files.com/models/scheduled_export.rb +0 -13
- data/lib/files.com/models/scim_log.rb +0 -9
- data/lib/files.com/models/session.rb +0 -493
- data/lib/files.com/models/settings_change.rb +0 -16
- data/lib/files.com/models/sftp_action_log.rb +0 -24
- data/lib/files.com/models/sftp_host_key.rb +0 -5
- data/lib/files.com/models/share_group.rb +0 -9
- data/lib/files.com/models/siem_http_destination.rb +0 -5
- data/lib/files.com/models/siem_http_destination_event.rb +0 -19
- data/lib/files.com/models/site.rb +0 -1021
- data/lib/files.com/models/site_subdomain_redirect.rb +0 -9
- data/lib/files.com/models/snapshot.rb +0 -5
- data/lib/files.com/models/sso_event.rb +0 -21
- data/lib/files.com/models/sso_strategy.rb +0 -632
- data/lib/files.com/models/sync.rb +0 -11
- data/lib/files.com/models/sync_log.rb +0 -22
- data/lib/files.com/models/sync_run.rb +0 -21
- data/lib/files.com/models/usage_daily_snapshot.rb +0 -19
- data/lib/files.com/models/usage_snapshot.rb +0 -5
- data/lib/files.com/models/user.rb +0 -59
- data/lib/files.com/models/user_cipher_use.rb +0 -21
- data/lib/files.com/models/user_lifecycle_rule.rb +0 -11
- data/lib/files.com/models/user_request.rb +0 -5
- data/lib/files.com/models/user_security_event.rb +0 -19
- data/lib/files.com/models/user_sftp_client_use.rb +0 -9
- data/lib/files.com/models/web_dav_action_log.rb +0 -24
- data/lib/files.com/models/workspace.rb +0 -13
- data/lib/files.com/version.rb +1 -1
- data/lib/files.com.rb +0 -59
- metadata +1 -119
- data/docs/account.md +0 -155
- data/docs/action_webhook_failure.md +0 -28
- data/docs/agent_proxy_identity.md +0 -49
- data/docs/agent_proxy_identity_endpoint.md +0 -11
- data/docs/agent_proxy_identity_result.md +0 -24
- data/docs/agent_v2_auth.md +0 -17
- data/docs/announcement.md +0 -57
- data/docs/blog_post.md +0 -57
- data/docs/bundle_recipient_registration.md +0 -39
- data/docs/certificate.md +0 -258
- data/docs/child_site.md +0 -583
- data/docs/clickwrap_acceptance.md +0 -30
- data/docs/client_log.md +0 -17
- data/docs/crash_report.md +0 -50
- data/docs/custom_domain_for_proxy.md +0 -23
- data/docs/email_preference.md +0 -108
- data/docs/email_preference_bundle_notification.md +0 -15
- data/docs/email_preference_notification.md +0 -17
- data/docs/export.md +0 -90
- data/docs/front_end_server.md +0 -111
- data/docs/frontend_metric.md +0 -34
- data/docs/inbox.md +0 -102
- data/docs/inbox_recipient_registration.md +0 -35
- data/docs/ip.md +0 -63
- data/docs/ip_abuse_entry.md +0 -47
- data/docs/label.md +0 -9
- data/docs/lead.md +0 -161
- data/docs/monitoring_stat.md +0 -38
- data/docs/monitoring_stats.md +0 -15
- data/docs/mover_package.md +0 -68
- data/docs/nps_response.md +0 -75
- data/docs/oauth_redirect.md +0 -11
- data/docs/paired_api_key.md +0 -19
- data/docs/paypal_express_info.md +0 -31
- data/docs/paypal_express_url.md +0 -11
- data/docs/plan.md +0 -107
- data/docs/public_hosting_session_pairing.md +0 -15
- data/docs/public_inbox.md +0 -121
- data/docs/public_url.md +0 -59
- data/docs/regional_migration.md +0 -0
- data/docs/release.md +0 -83
- data/docs/release_package.md +0 -19
- data/docs/revision.md +0 -40
- data/docs/safe_plan.md +0 -0
- data/docs/session_available_site.md +0 -26
- data/docs/setting.md +0 -33
- data/docs/settings.md +0 -498
- data/docs/ssl_certificate.md +0 -37
- data/docs/staging_site.md +0 -591
- data/docs/support_request.md +0 -126
- data/docs/sync_api_usage_snapshot.md +0 -23
- data/docs/sync_api_usage_snapshot_report.md +0 -71
- data/docs/sync_bandwidth_snapshot.md +0 -48
- data/docs/two_factor_authentication_method.md +0 -169
- data/docs/warning.md +0 -36
- data/docs/webauthn_sign_request.md +0 -13
- data/docs/zip_download.md +0 -32
- data/docs/zip_download_file.md +0 -45
- data/docs/zip_download_files.md +0 -23
- data/lib/files.com/models/account.rb +0 -346
- data/lib/files.com/models/action_webhook_failure.rb +0 -34
- data/lib/files.com/models/agent_proxy_identity.rb +0 -47
- data/lib/files.com/models/agent_proxy_identity_endpoint.rb +0 -17
- data/lib/files.com/models/agent_proxy_identity_result.rb +0 -27
- data/lib/files.com/models/agent_v2_auth.rb +0 -32
- data/lib/files.com/models/announcement.rb +0 -89
- data/lib/files.com/models/blog_post.rb +0 -84
- data/lib/files.com/models/bundle_recipient_registration.rb +0 -105
- data/lib/files.com/models/certificate.rb +0 -455
- data/lib/files.com/models/child_site.rb +0 -1756
- data/lib/files.com/models/clickwrap_acceptance.rb +0 -56
- data/lib/files.com/models/client_log.rb +0 -25
- data/lib/files.com/models/crash_report.rb +0 -151
- data/lib/files.com/models/custom_domain_for_proxy.rb +0 -47
- data/lib/files.com/models/email_preference.rb +0 -124
- data/lib/files.com/models/email_preference_bundle_notification.rb +0 -27
- data/lib/files.com/models/email_preference_notification.rb +0 -32
- data/lib/files.com/models/export.rb +0 -153
- data/lib/files.com/models/front_end_server.rb +0 -335
- data/lib/files.com/models/frontend_metric.rb +0 -65
- data/lib/files.com/models/inbox.rb +0 -123
- data/lib/files.com/models/inbox_recipient_registration.rb +0 -87
- data/lib/files.com/models/ip.rb +0 -82
- data/lib/files.com/models/ip_abuse_entry.rb +0 -96
- data/lib/files.com/models/label.rb +0 -22
- data/lib/files.com/models/lead.rb +0 -434
- data/lib/files.com/models/monitoring_stat.rb +0 -43
- data/lib/files.com/models/monitoring_stats.rb +0 -22
- data/lib/files.com/models/mover_package.rb +0 -80
- data/lib/files.com/models/nps_response.rb +0 -128
- data/lib/files.com/models/oauth_redirect.rb +0 -17
- data/lib/files.com/models/paired_api_key.rb +0 -37
- data/lib/files.com/models/paypal_express_info.rb +0 -67
- data/lib/files.com/models/paypal_express_url.rb +0 -17
- data/lib/files.com/models/plan.rb +0 -209
- data/lib/files.com/models/public_hosting_session_pairing.rb +0 -27
- data/lib/files.com/models/public_inbox.rb +0 -142
- data/lib/files.com/models/public_url.rb +0 -177
- data/lib/files.com/models/regional_migration.rb +0 -12
- data/lib/files.com/models/release.rb +0 -153
- data/lib/files.com/models/release_package.rb +0 -37
- data/lib/files.com/models/revision.rb +0 -53
- data/lib/files.com/models/safe_plan.rb +0 -12
- data/lib/files.com/models/session_available_site.rb +0 -47
- data/lib/files.com/models/setting.rb +0 -36
- data/lib/files.com/models/settings.rb +0 -1072
- data/lib/files.com/models/ssl_certificate.rb +0 -77
- data/lib/files.com/models/staging_site.rb +0 -1781
- data/lib/files.com/models/support_request.rb +0 -209
- data/lib/files.com/models/sync_api_usage_snapshot.rb +0 -47
- data/lib/files.com/models/sync_api_usage_snapshot_report.rb +0 -162
- data/lib/files.com/models/sync_bandwidth_snapshot.rb +0 -104
- data/lib/files.com/models/two_factor_authentication_method.rb +0 -250
- data/lib/files.com/models/warning.rb +0 -38
- data/lib/files.com/models/webauthn_sign_request.rb +0 -17
- data/lib/files.com/models/zip_download.rb +0 -73
- data/lib/files.com/models/zip_download_file.rb +0 -111
- data/lib/files.com/models/zip_download_files.rb +0 -42
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Files
|
|
4
|
-
class BundleRecipientRegistration
|
|
5
|
-
attr_reader :options, :attributes
|
|
6
|
-
|
|
7
|
-
def initialize(attributes = {}, options = {})
|
|
8
|
-
@attributes = attributes || {}
|
|
9
|
-
@options = options || {}
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
# string - The bundle recipient registration code. Use this to register for the bundle.
|
|
13
|
-
def code
|
|
14
|
-
@attributes[:code]
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
def code=(value)
|
|
18
|
-
@attributes[:code] = value
|
|
19
|
-
end
|
|
20
|
-
|
|
21
|
-
# string - If the recipient has already registered for this bundle, this is their registration code to get the bundle contents.
|
|
22
|
-
def bundle_registration_code
|
|
23
|
-
@attributes[:bundle_registration_code]
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
def bundle_registration_code=(value)
|
|
27
|
-
@attributes[:bundle_registration_code] = value
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
# string - The recipient's email address.
|
|
31
|
-
def recipient
|
|
32
|
-
@attributes[:recipient]
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
def recipient=(value)
|
|
36
|
-
@attributes[:recipient] = value
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
# string - The recipient's name.
|
|
40
|
-
def name
|
|
41
|
-
@attributes[:name]
|
|
42
|
-
end
|
|
43
|
-
|
|
44
|
-
def name=(value)
|
|
45
|
-
@attributes[:name] = value
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
# string - The recipient's company.
|
|
49
|
-
def company
|
|
50
|
-
@attributes[:company]
|
|
51
|
-
end
|
|
52
|
-
|
|
53
|
-
def company=(value)
|
|
54
|
-
@attributes[:company] = value
|
|
55
|
-
end
|
|
56
|
-
|
|
57
|
-
# boolean - Whether a one-time password was emailed to the recipient.
|
|
58
|
-
def password_emailed
|
|
59
|
-
@attributes[:password_emailed]
|
|
60
|
-
end
|
|
61
|
-
|
|
62
|
-
def password_emailed=(value)
|
|
63
|
-
@attributes[:password_emailed] = value
|
|
64
|
-
end
|
|
65
|
-
|
|
66
|
-
# string - InboxRegistration cookie code, if there is an associated InboxRegistration
|
|
67
|
-
def inbox_code
|
|
68
|
-
@attributes[:inbox_code]
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
def inbox_code=(value)
|
|
72
|
-
@attributes[:inbox_code] = value
|
|
73
|
-
end
|
|
74
|
-
|
|
75
|
-
# string - Bundle recipient code
|
|
76
|
-
def bundle_recipient_code
|
|
77
|
-
@attributes[:bundle_recipient_code]
|
|
78
|
-
end
|
|
79
|
-
|
|
80
|
-
def bundle_recipient_code=(value)
|
|
81
|
-
@attributes[:bundle_recipient_code] = value
|
|
82
|
-
end
|
|
83
|
-
|
|
84
|
-
def save
|
|
85
|
-
if @attributes[:id]
|
|
86
|
-
raise NotImplementedError.new("The BundleRecipientRegistration object doesn't support updates.")
|
|
87
|
-
else
|
|
88
|
-
new_obj = BundleRecipientRegistration.create(@attributes, @options)
|
|
89
|
-
end
|
|
90
|
-
|
|
91
|
-
@attributes = new_obj.attributes
|
|
92
|
-
true
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
# Parameters:
|
|
96
|
-
# bundle_recipient_code (required) - string - Bundle recipient code
|
|
97
|
-
def self.create(params = {}, options = {})
|
|
98
|
-
raise InvalidParameterError.new("Bad parameter: bundle_recipient_code must be an String") if params[:bundle_recipient_code] and !params[:bundle_recipient_code].is_a?(String)
|
|
99
|
-
raise MissingParameterError.new("Parameter missing: bundle_recipient_code") unless params[:bundle_recipient_code]
|
|
100
|
-
|
|
101
|
-
response, options = Api.send_request("/bundle_recipient_registrations", :post, params, options)
|
|
102
|
-
BundleRecipientRegistration.new(response.data, options)
|
|
103
|
-
end
|
|
104
|
-
end
|
|
105
|
-
end
|
|
@@ -1,455 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Files
|
|
4
|
-
class Certificate
|
|
5
|
-
attr_reader :options, :attributes
|
|
6
|
-
|
|
7
|
-
def initialize(attributes = {}, options = {})
|
|
8
|
-
@attributes = attributes || {}
|
|
9
|
-
@options = options || {}
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
# int64 - Certificate ID
|
|
13
|
-
def id
|
|
14
|
-
@attributes[:id]
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
def id=(value)
|
|
18
|
-
@attributes[:id] = value
|
|
19
|
-
end
|
|
20
|
-
|
|
21
|
-
# string - Descriptive name of certificate
|
|
22
|
-
def name
|
|
23
|
-
@attributes[:name]
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
def name=(value)
|
|
27
|
-
@attributes[:name] = value
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
# string - Full text of SSL certificate
|
|
31
|
-
def certificate
|
|
32
|
-
@attributes[:certificate]
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
def certificate=(value)
|
|
36
|
-
@attributes[:certificate] = value
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
# date-time - Certificate created at
|
|
40
|
-
def created_at
|
|
41
|
-
@attributes[:created_at]
|
|
42
|
-
end
|
|
43
|
-
|
|
44
|
-
# string - Certificate status. (One of `Request Generated`, `New`, `Active`, `Active/Expired`, `Expired`, or `Available`)
|
|
45
|
-
def display_status
|
|
46
|
-
@attributes[:display_status]
|
|
47
|
-
end
|
|
48
|
-
|
|
49
|
-
def display_status=(value)
|
|
50
|
-
@attributes[:display_status] = value
|
|
51
|
-
end
|
|
52
|
-
|
|
53
|
-
# array(string) - Domains on this certificate other than files.com domains
|
|
54
|
-
def domains
|
|
55
|
-
@attributes[:domains]
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
def domains=(value)
|
|
59
|
-
@attributes[:domains] = value
|
|
60
|
-
end
|
|
61
|
-
|
|
62
|
-
# date-time - Certificate expiration date/time
|
|
63
|
-
def expires_at
|
|
64
|
-
@attributes[:expires_at]
|
|
65
|
-
end
|
|
66
|
-
|
|
67
|
-
def expires_at=(value)
|
|
68
|
-
@attributes[:expires_at] = value
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
# boolean - Is this certificate automatically managed and renewed by Files.com?
|
|
72
|
-
def brick_managed
|
|
73
|
-
@attributes[:brick_managed]
|
|
74
|
-
end
|
|
75
|
-
|
|
76
|
-
def brick_managed=(value)
|
|
77
|
-
@attributes[:brick_managed] = value
|
|
78
|
-
end
|
|
79
|
-
|
|
80
|
-
# string - Intermediate certificates
|
|
81
|
-
def intermediates
|
|
82
|
-
@attributes[:intermediates]
|
|
83
|
-
end
|
|
84
|
-
|
|
85
|
-
def intermediates=(value)
|
|
86
|
-
@attributes[:intermediates] = value
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
# array(string) - A list of IP addresses associated with this SSL Certificate
|
|
90
|
-
def ip_addresses
|
|
91
|
-
@attributes[:ip_addresses]
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
def ip_addresses=(value)
|
|
95
|
-
@attributes[:ip_addresses] = value
|
|
96
|
-
end
|
|
97
|
-
|
|
98
|
-
# string - X509 issuer
|
|
99
|
-
def issuer
|
|
100
|
-
@attributes[:issuer]
|
|
101
|
-
end
|
|
102
|
-
|
|
103
|
-
def issuer=(value)
|
|
104
|
-
@attributes[:issuer] = value
|
|
105
|
-
end
|
|
106
|
-
|
|
107
|
-
# string - Type of key
|
|
108
|
-
def key_type
|
|
109
|
-
@attributes[:key_type]
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
def key_type=(value)
|
|
113
|
-
@attributes[:key_type] = value
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
# string - Certificate signing request text
|
|
117
|
-
def request
|
|
118
|
-
@attributes[:request]
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
def request=(value)
|
|
122
|
-
@attributes[:request] = value
|
|
123
|
-
end
|
|
124
|
-
|
|
125
|
-
# string - Certificate status (Request Generated, New, Active, Active/Expired, Expired, or Available)
|
|
126
|
-
def status
|
|
127
|
-
@attributes[:status]
|
|
128
|
-
end
|
|
129
|
-
|
|
130
|
-
def status=(value)
|
|
131
|
-
@attributes[:status] = value
|
|
132
|
-
end
|
|
133
|
-
|
|
134
|
-
# string - X509 Subject name
|
|
135
|
-
def subject
|
|
136
|
-
@attributes[:subject]
|
|
137
|
-
end
|
|
138
|
-
|
|
139
|
-
def subject=(value)
|
|
140
|
-
@attributes[:subject] = value
|
|
141
|
-
end
|
|
142
|
-
|
|
143
|
-
# string - Domain for certificate.
|
|
144
|
-
def certificate_domain
|
|
145
|
-
@attributes[:certificate_domain]
|
|
146
|
-
end
|
|
147
|
-
|
|
148
|
-
def certificate_domain=(value)
|
|
149
|
-
@attributes[:certificate_domain] = value
|
|
150
|
-
end
|
|
151
|
-
|
|
152
|
-
# array(string) - Additional domains for the certificate CSR.
|
|
153
|
-
def certificate_extra_domains
|
|
154
|
-
@attributes[:certificate_extra_domains]
|
|
155
|
-
end
|
|
156
|
-
|
|
157
|
-
def certificate_extra_domains=(value)
|
|
158
|
-
@attributes[:certificate_extra_domains] = value
|
|
159
|
-
end
|
|
160
|
-
|
|
161
|
-
# string - Country.
|
|
162
|
-
def certificate_country
|
|
163
|
-
@attributes[:certificate_country]
|
|
164
|
-
end
|
|
165
|
-
|
|
166
|
-
def certificate_country=(value)
|
|
167
|
-
@attributes[:certificate_country] = value
|
|
168
|
-
end
|
|
169
|
-
|
|
170
|
-
# string - State or province.
|
|
171
|
-
def certificate_state_or_province
|
|
172
|
-
@attributes[:certificate_state_or_province]
|
|
173
|
-
end
|
|
174
|
-
|
|
175
|
-
def certificate_state_or_province=(value)
|
|
176
|
-
@attributes[:certificate_state_or_province] = value
|
|
177
|
-
end
|
|
178
|
-
|
|
179
|
-
# string - City or locale.
|
|
180
|
-
def certificate_city_or_locale
|
|
181
|
-
@attributes[:certificate_city_or_locale]
|
|
182
|
-
end
|
|
183
|
-
|
|
184
|
-
def certificate_city_or_locale=(value)
|
|
185
|
-
@attributes[:certificate_city_or_locale] = value
|
|
186
|
-
end
|
|
187
|
-
|
|
188
|
-
# string - Company name.
|
|
189
|
-
def certificate_company_name
|
|
190
|
-
@attributes[:certificate_company_name]
|
|
191
|
-
end
|
|
192
|
-
|
|
193
|
-
def certificate_company_name=(value)
|
|
194
|
-
@attributes[:certificate_company_name] = value
|
|
195
|
-
end
|
|
196
|
-
|
|
197
|
-
# string - Department name or organization unit 1
|
|
198
|
-
def csr_ou1
|
|
199
|
-
@attributes[:csr_ou1]
|
|
200
|
-
end
|
|
201
|
-
|
|
202
|
-
def csr_ou1=(value)
|
|
203
|
-
@attributes[:csr_ou1] = value
|
|
204
|
-
end
|
|
205
|
-
|
|
206
|
-
# string - Department name or organization unit 2
|
|
207
|
-
def csr_ou2
|
|
208
|
-
@attributes[:csr_ou2]
|
|
209
|
-
end
|
|
210
|
-
|
|
211
|
-
def csr_ou2=(value)
|
|
212
|
-
@attributes[:csr_ou2] = value
|
|
213
|
-
end
|
|
214
|
-
|
|
215
|
-
# string - Department name or organization unit 3
|
|
216
|
-
def csr_ou3
|
|
217
|
-
@attributes[:csr_ou3]
|
|
218
|
-
end
|
|
219
|
-
|
|
220
|
-
def csr_ou3=(value)
|
|
221
|
-
@attributes[:csr_ou3] = value
|
|
222
|
-
end
|
|
223
|
-
|
|
224
|
-
# string - Email address for the certificate owner.
|
|
225
|
-
def certificate_email_address
|
|
226
|
-
@attributes[:certificate_email_address]
|
|
227
|
-
end
|
|
228
|
-
|
|
229
|
-
def certificate_email_address=(value)
|
|
230
|
-
@attributes[:certificate_email_address] = value
|
|
231
|
-
end
|
|
232
|
-
|
|
233
|
-
# string - Certificate private key.
|
|
234
|
-
def private_key
|
|
235
|
-
@attributes[:private_key]
|
|
236
|
-
end
|
|
237
|
-
|
|
238
|
-
def private_key=(value)
|
|
239
|
-
@attributes[:private_key] = value
|
|
240
|
-
end
|
|
241
|
-
|
|
242
|
-
# string - Certificate password.
|
|
243
|
-
def password
|
|
244
|
-
@attributes[:password]
|
|
245
|
-
end
|
|
246
|
-
|
|
247
|
-
def password=(value)
|
|
248
|
-
@attributes[:password] = value
|
|
249
|
-
end
|
|
250
|
-
|
|
251
|
-
# Deactivate SSL Certificate
|
|
252
|
-
def deactivate(params = {})
|
|
253
|
-
params ||= {}
|
|
254
|
-
params[:id] = @attributes[:id]
|
|
255
|
-
raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
|
|
256
|
-
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
257
|
-
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
258
|
-
|
|
259
|
-
Api.send_request("/certificates/#{@attributes[:id]}/deactivate", :post, params, @options)
|
|
260
|
-
end
|
|
261
|
-
|
|
262
|
-
# Activate SSL Certificate
|
|
263
|
-
#
|
|
264
|
-
# Parameters:
|
|
265
|
-
# replace_cert - string - Leave blank or set to `any` to replace any currently active certificate, if applicable. Set to `new_ips` to activate this certificate as an additional certificate on your Site by allocating a new set of Dedicated IPs (may require a Plan upgrade). Set to the ID of a currently active certificate to replace that certificate on its set of dedicated IPs.
|
|
266
|
-
def activate(params = {})
|
|
267
|
-
params ||= {}
|
|
268
|
-
params[:id] = @attributes[:id]
|
|
269
|
-
raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
|
|
270
|
-
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
271
|
-
raise InvalidParameterError.new("Bad parameter: replace_cert must be an String") if params[:replace_cert] and !params[:replace_cert].is_a?(String)
|
|
272
|
-
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
273
|
-
|
|
274
|
-
Api.send_request("/certificates/#{@attributes[:id]}/activate", :post, params, @options)
|
|
275
|
-
end
|
|
276
|
-
|
|
277
|
-
# Parameters:
|
|
278
|
-
# name - string - Internal certificate name.
|
|
279
|
-
# intermediates - string - Any intermediate certificates. PEM or PKCS7 formats accepted.
|
|
280
|
-
# certificate - string - The certificate. PEM or PKCS7 formats accepted.
|
|
281
|
-
def update(params = {})
|
|
282
|
-
params ||= {}
|
|
283
|
-
params[:id] = @attributes[:id]
|
|
284
|
-
raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
|
|
285
|
-
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
286
|
-
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
287
|
-
raise InvalidParameterError.new("Bad parameter: intermediates must be an String") if params[:intermediates] and !params[:intermediates].is_a?(String)
|
|
288
|
-
raise InvalidParameterError.new("Bad parameter: certificate must be an String") if params[:certificate] and !params[:certificate].is_a?(String)
|
|
289
|
-
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
290
|
-
|
|
291
|
-
Api.send_request("/certificates/#{@attributes[:id]}", :patch, params, @options)
|
|
292
|
-
end
|
|
293
|
-
|
|
294
|
-
def delete(params = {})
|
|
295
|
-
params ||= {}
|
|
296
|
-
params[:id] = @attributes[:id]
|
|
297
|
-
raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
|
|
298
|
-
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
299
|
-
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
300
|
-
|
|
301
|
-
Api.send_request("/certificates/#{@attributes[:id]}", :delete, params, @options)
|
|
302
|
-
end
|
|
303
|
-
|
|
304
|
-
def destroy(params = {})
|
|
305
|
-
delete(params)
|
|
306
|
-
nil
|
|
307
|
-
end
|
|
308
|
-
|
|
309
|
-
def save
|
|
310
|
-
if @attributes[:id]
|
|
311
|
-
new_obj = update(@attributes)
|
|
312
|
-
else
|
|
313
|
-
new_obj = Certificate.create(@attributes, @options)
|
|
314
|
-
end
|
|
315
|
-
|
|
316
|
-
@attributes = new_obj.attributes
|
|
317
|
-
true
|
|
318
|
-
end
|
|
319
|
-
|
|
320
|
-
# Parameters:
|
|
321
|
-
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
322
|
-
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
323
|
-
def self.list(params = {}, options = {})
|
|
324
|
-
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
325
|
-
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
326
|
-
|
|
327
|
-
List.new(Certificate, params) do
|
|
328
|
-
Api.send_request("/certificates", :get, params, options)
|
|
329
|
-
end
|
|
330
|
-
end
|
|
331
|
-
|
|
332
|
-
def self.all(params = {}, options = {})
|
|
333
|
-
list(params, options)
|
|
334
|
-
end
|
|
335
|
-
|
|
336
|
-
# Parameters:
|
|
337
|
-
# id (required) - int64 - Certificate ID.
|
|
338
|
-
def self.find(id, params = {}, options = {})
|
|
339
|
-
params ||= {}
|
|
340
|
-
params[:id] = id
|
|
341
|
-
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
342
|
-
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
343
|
-
|
|
344
|
-
response, options = Api.send_request("/certificates/#{params[:id]}", :get, params, options)
|
|
345
|
-
Certificate.new(response.data, options)
|
|
346
|
-
end
|
|
347
|
-
|
|
348
|
-
def self.get(id, params = {}, options = {})
|
|
349
|
-
find(id, params, options)
|
|
350
|
-
end
|
|
351
|
-
|
|
352
|
-
# Parameters:
|
|
353
|
-
# name (required) - string - Internal name of the SSL certificate.
|
|
354
|
-
# certificate_domain - string - Domain for certificate.
|
|
355
|
-
# certificate_extra_domains - array(string) - Additional domains for the certificate CSR.
|
|
356
|
-
# certificate_country - string - Country.
|
|
357
|
-
# certificate_state_or_province - string - State or province.
|
|
358
|
-
# certificate_city_or_locale - string - City or locale.
|
|
359
|
-
# certificate_company_name - string - Company name.
|
|
360
|
-
# csr_ou1 - string - Department name or organization unit 1
|
|
361
|
-
# csr_ou2 - string - Department name or organization unit 2
|
|
362
|
-
# csr_ou3 - string - Department name or organization unit 3
|
|
363
|
-
# certificate_email_address - string - Email address for the certificate owner.
|
|
364
|
-
# key_type - string - Any supported key type. Defaults to `RSA-4096`.
|
|
365
|
-
# certificate - string - The certificate. PEM or PKCS7 formats accepted.
|
|
366
|
-
# private_key - string - Certificate private key.
|
|
367
|
-
# password - string - Certificate password.
|
|
368
|
-
# intermediates - string - Intermediate certificates. PEM or PKCS7 formats accepted.
|
|
369
|
-
def self.create(params = {}, options = {})
|
|
370
|
-
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
371
|
-
raise InvalidParameterError.new("Bad parameter: certificate_domain must be an String") if params[:certificate_domain] and !params[:certificate_domain].is_a?(String)
|
|
372
|
-
raise InvalidParameterError.new("Bad parameter: certificate_extra_domains must be an Array") if params[:certificate_extra_domains] and !params[:certificate_extra_domains].is_a?(Array)
|
|
373
|
-
raise InvalidParameterError.new("Bad parameter: certificate_country must be an String") if params[:certificate_country] and !params[:certificate_country].is_a?(String)
|
|
374
|
-
raise InvalidParameterError.new("Bad parameter: certificate_state_or_province must be an String") if params[:certificate_state_or_province] and !params[:certificate_state_or_province].is_a?(String)
|
|
375
|
-
raise InvalidParameterError.new("Bad parameter: certificate_city_or_locale must be an String") if params[:certificate_city_or_locale] and !params[:certificate_city_or_locale].is_a?(String)
|
|
376
|
-
raise InvalidParameterError.new("Bad parameter: certificate_company_name must be an String") if params[:certificate_company_name] and !params[:certificate_company_name].is_a?(String)
|
|
377
|
-
raise InvalidParameterError.new("Bad parameter: csr_ou1 must be an String") if params[:csr_ou1] and !params[:csr_ou1].is_a?(String)
|
|
378
|
-
raise InvalidParameterError.new("Bad parameter: csr_ou2 must be an String") if params[:csr_ou2] and !params[:csr_ou2].is_a?(String)
|
|
379
|
-
raise InvalidParameterError.new("Bad parameter: csr_ou3 must be an String") if params[:csr_ou3] and !params[:csr_ou3].is_a?(String)
|
|
380
|
-
raise InvalidParameterError.new("Bad parameter: certificate_email_address must be an String") if params[:certificate_email_address] and !params[:certificate_email_address].is_a?(String)
|
|
381
|
-
raise InvalidParameterError.new("Bad parameter: key_type must be an String") if params[:key_type] and !params[:key_type].is_a?(String)
|
|
382
|
-
raise InvalidParameterError.new("Bad parameter: certificate must be an String") if params[:certificate] and !params[:certificate].is_a?(String)
|
|
383
|
-
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
|
|
384
|
-
raise InvalidParameterError.new("Bad parameter: password must be an String") if params[:password] and !params[:password].is_a?(String)
|
|
385
|
-
raise InvalidParameterError.new("Bad parameter: intermediates must be an String") if params[:intermediates] and !params[:intermediates].is_a?(String)
|
|
386
|
-
raise MissingParameterError.new("Parameter missing: name") unless params[:name]
|
|
387
|
-
|
|
388
|
-
response, options = Api.send_request("/certificates", :post, params, options)
|
|
389
|
-
Certificate.new(response.data, options)
|
|
390
|
-
end
|
|
391
|
-
|
|
392
|
-
# Deactivate SSL Certificate
|
|
393
|
-
def self.deactivate(id, params = {}, options = {})
|
|
394
|
-
params ||= {}
|
|
395
|
-
params[:id] = id
|
|
396
|
-
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
397
|
-
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
398
|
-
|
|
399
|
-
Api.send_request("/certificates/#{params[:id]}/deactivate", :post, params, options)
|
|
400
|
-
nil
|
|
401
|
-
end
|
|
402
|
-
|
|
403
|
-
# Activate SSL Certificate
|
|
404
|
-
#
|
|
405
|
-
# Parameters:
|
|
406
|
-
# replace_cert - string - Leave blank or set to `any` to replace any currently active certificate, if applicable. Set to `new_ips` to activate this certificate as an additional certificate on your Site by allocating a new set of Dedicated IPs (may require a Plan upgrade). Set to the ID of a currently active certificate to replace that certificate on its set of dedicated IPs.
|
|
407
|
-
def self.activate(id, params = {}, options = {})
|
|
408
|
-
params ||= {}
|
|
409
|
-
params[:id] = id
|
|
410
|
-
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
411
|
-
raise InvalidParameterError.new("Bad parameter: replace_cert must be an String") if params[:replace_cert] and !params[:replace_cert].is_a?(String)
|
|
412
|
-
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
413
|
-
|
|
414
|
-
Api.send_request("/certificates/#{params[:id]}/activate", :post, params, options)
|
|
415
|
-
nil
|
|
416
|
-
end
|
|
417
|
-
|
|
418
|
-
def self.create_export(params = {}, options = {})
|
|
419
|
-
response, options = Api.send_request("/certificates/create_export", :post, params, options)
|
|
420
|
-
Export.new(response.data, options)
|
|
421
|
-
end
|
|
422
|
-
|
|
423
|
-
# Parameters:
|
|
424
|
-
# name - string - Internal certificate name.
|
|
425
|
-
# intermediates - string - Any intermediate certificates. PEM or PKCS7 formats accepted.
|
|
426
|
-
# certificate - string - The certificate. PEM or PKCS7 formats accepted.
|
|
427
|
-
def self.update(id, params = {}, options = {})
|
|
428
|
-
params ||= {}
|
|
429
|
-
params[:id] = id
|
|
430
|
-
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
431
|
-
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
432
|
-
raise InvalidParameterError.new("Bad parameter: intermediates must be an String") if params[:intermediates] and !params[:intermediates].is_a?(String)
|
|
433
|
-
raise InvalidParameterError.new("Bad parameter: certificate must be an String") if params[:certificate] and !params[:certificate].is_a?(String)
|
|
434
|
-
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
435
|
-
|
|
436
|
-
response, options = Api.send_request("/certificates/#{params[:id]}", :patch, params, options)
|
|
437
|
-
Certificate.new(response.data, options)
|
|
438
|
-
end
|
|
439
|
-
|
|
440
|
-
def self.delete(id, params = {}, options = {})
|
|
441
|
-
params ||= {}
|
|
442
|
-
params[:id] = id
|
|
443
|
-
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
444
|
-
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
445
|
-
|
|
446
|
-
Api.send_request("/certificates/#{params[:id]}", :delete, params, options)
|
|
447
|
-
nil
|
|
448
|
-
end
|
|
449
|
-
|
|
450
|
-
def self.destroy(id, params = {}, options = {})
|
|
451
|
-
delete(id, params, options)
|
|
452
|
-
nil
|
|
453
|
-
end
|
|
454
|
-
end
|
|
455
|
-
end
|