Class: AsposeEmailCloud::DisposableEmailApi
- Inherits:
-
Object
- Object
- AsposeEmailCloud::DisposableEmailApi
- Defined in:
- lib/aspose-email-cloud/api/disposable_email_api.rb
Overview
DisposableEmailApi operations.
Instance Attribute Summary collapse
-
#api_invoker ⇒ Object
readonly
Returns the value of attribute api_invoker.
Instance Method Summary collapse
-
#initialize(api_invoker) ⇒ DisposableEmailApi
constructor
Initializes a new instance of the DisposableEmailApi class.
-
#is_disposable(request) ⇒ ValueTOfBoolean
Check email address is disposable.
Constructor Details
#initialize(api_invoker) ⇒ DisposableEmailApi
Initializes a new instance of the DisposableEmailApi class.
45 46 47 |
# File 'lib/aspose-email-cloud/api/disposable_email_api.rb', line 45 def initialize(api_invoker) @api_invoker = api_invoker end |
Instance Attribute Details
#api_invoker ⇒ Object (readonly)
Returns the value of attribute api_invoker.
31 32 33 |
# File 'lib/aspose-email-cloud/api/disposable_email_api.rb', line 31 def api_invoker @api_invoker end |
Instance Method Details
#is_disposable(request) ⇒ ValueTOfBoolean
Check email address is disposable
52 53 54 55 |
# File 'lib/aspose-email-cloud/api/disposable_email_api.rb', line 52 def is_disposable(request) http_request = request.to_http_info(@api_invoker.api_client) @api_invoker.make_request(http_request, :GET, 'ValueTOfBoolean') end |