Class: Minfraud::Components::Email
- Defined in:
- lib/minfraud/components/email.rb
Instance Attribute Summary collapse
-
#address ⇒ String
This field must be either a valid email address or an MD5 of the email used in the transaction.
-
#domain ⇒ String
The domain of the email address used in the transaction.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Minfraud::Components::Email
constructor
Creates Minfraud::Components::Email instance.
Methods inherited from Base
Constructor Details
#initialize(params = {}) ⇒ Minfraud::Components::Email
Creates Minfraud::Components::Email instance
15 16 17 18 |
# File 'lib/minfraud/components/email.rb', line 15 def initialize(params = {}) @address = params[:address] @domain = params[:domain] end |
Instance Attribute Details
#address ⇒ String
Returns This field must be either a valid email address or an MD5 of the email used in the transaction.
6 7 8 |
# File 'lib/minfraud/components/email.rb', line 6 def address @address end |
#domain ⇒ String
Returns The domain of the email address used in the transaction.
10 11 12 |
# File 'lib/minfraud/components/email.rb', line 10 def domain @domain end |