Class: Credigy::EmailCreation
- Inherits:
-
Authorized
- Object
- Request
- Authorized
- Credigy::EmailCreation
- Defined in:
- lib/credigy/email_creation.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
Returns the value of attribute address.
Attributes inherited from Authorized
Instance Method Summary collapse
-
#initialize(authorization_token, address:) ⇒ EmailCreation
constructor
A new instance of EmailCreation.
- #message ⇒ Object
- #operation ⇒ Object
Methods inherited from Authorized
Methods inherited from Request
#basic_config, #call, #client, #config_options, #extra_config_options, #response, #response_class, #soap_header, #wsdl
Constructor Details
#initialize(authorization_token, address:) ⇒ EmailCreation
Returns a new instance of EmailCreation.
8 9 10 |
# File 'lib/credigy/email_creation.rb', line 8 def initialize(, address:) @authorization_token, @address = , address end |
Instance Attribute Details
#address ⇒ Object (readonly)
Returns the value of attribute address.
6 7 8 |
# File 'lib/credigy/email_creation.rb', line 6 def address @address end |
Instance Method Details
#message ⇒ Object
16 17 18 |
# File 'lib/credigy/email_creation.rb', line 16 def { 'cred:emailAddress' => address } end |
#operation ⇒ Object
12 13 14 |
# File 'lib/credigy/email_creation.rb', line 12 def operation :save_email end |