Class: AsposeEmailCloud::EmailCloud
- Inherits:
-
Object
- Object
- AsposeEmailCloud::EmailCloud
- Defined in:
- lib/aspose-email-cloud/api/email_cloud.rb
Overview
Aspose.Email Cloud API.
Instance Attribute Summary collapse
-
#ai ⇒ Object
readonly
AI powered operations.
-
#api_invoker ⇒ Object
readonly
Returns the value of attribute api_invoker.
-
#calendar ⇒ Object
readonly
iCalendar document operations.
-
#client ⇒ Object
readonly
Builtin Email client operations.
-
#cloud_storage ⇒ Object
readonly
Cloud file storage operations.
-
#contact ⇒ Object
readonly
Contact document operations.
-
#disposable_email ⇒ Object
readonly
Checks if an email is a disposable one.
-
#email ⇒ Object
readonly
Email document (*.eml) operations.
-
#email_config ⇒ Object
readonly
Email server configuration discovery.
-
#mapi ⇒ Object
readonly
MAPI operations.
Instance Method Summary collapse
-
#initialize(client_secret = nil, client_id = nil, base_url = 'api.aspose.cloud', api_version = 'v4.0', debug = false) ⇒ EmailCloud
constructor
Initializes a new instance of the EmailApi class.
Constructor Details
#initialize(client_secret = nil, client_id = nil, base_url = 'api.aspose.cloud', api_version = 'v4.0', debug = false) ⇒ EmailCloud
Initializes a new instance of the EmailApi class.
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'lib/aspose-email-cloud/api/email_cloud.rb', line 70 def initialize(client_secret = nil, client_id = nil, base_url = 'api.aspose.cloud', api_version = 'v4.0', debug = false) api_client = ApiClient.new(client_secret, client_id, base_url, api_version, debug) @api_invoker = ApiInvoker.new(api_client) @calendar = CalendarApi.new(@api_invoker) @contact = ContactApi.new(@api_invoker) @email = EmailApi.new(@api_invoker) @disposable_email = DisposableEmailApi.new(@api_invoker) @email_config = EmailConfigApi.new(@api_invoker) @mapi = MapiGroup.new(@api_invoker) @client = ClientGroup.new(@api_invoker) @ai = AiGroup.new(@api_invoker) @cloud_storage = CloudStorageGroup.new(@api_invoker) end |
Instance Attribute Details
#ai ⇒ Object (readonly)
AI powered operations.
58 59 60 |
# File 'lib/aspose-email-cloud/api/email_cloud.rb', line 58 def ai @ai end |
#api_invoker ⇒ Object (readonly)
Returns the value of attribute api_invoker.
31 32 33 |
# File 'lib/aspose-email-cloud/api/email_cloud.rb', line 31 def api_invoker @api_invoker end |
#calendar ⇒ Object (readonly)
iCalendar document operations.
35 36 37 |
# File 'lib/aspose-email-cloud/api/email_cloud.rb', line 35 def calendar @calendar end |
#client ⇒ Object (readonly)
Builtin Email client operations.
55 56 57 |
# File 'lib/aspose-email-cloud/api/email_cloud.rb', line 55 def client @client end |
#cloud_storage ⇒ Object (readonly)
Cloud file storage operations.
61 62 63 |
# File 'lib/aspose-email-cloud/api/email_cloud.rb', line 61 def cloud_storage @cloud_storage end |
#contact ⇒ Object (readonly)
Contact document operations. Supported formats: VCard, MSG, WebDav
38 39 40 |
# File 'lib/aspose-email-cloud/api/email_cloud.rb', line 38 def contact @contact end |
#disposable_email ⇒ Object (readonly)
Checks if an email is a disposable one
44 45 46 |
# File 'lib/aspose-email-cloud/api/email_cloud.rb', line 44 def disposable_email @disposable_email end |
#email ⇒ Object (readonly)
Email document (*.eml) operations.
41 42 43 |
# File 'lib/aspose-email-cloud/api/email_cloud.rb', line 41 def email @email end |
#email_config ⇒ Object (readonly)
Email server configuration discovery.
47 48 49 |
# File 'lib/aspose-email-cloud/api/email_cloud.rb', line 47 def email_config @email_config end |
#mapi ⇒ Object (readonly)
MAPI operations.
52 53 54 |
# File 'lib/aspose-email-cloud/api/email_cloud.rb', line 52 def mapi @mapi end |