Class: AdaptivePay::Sender
- Inherits:
-
Object
- Object
- AdaptivePay::Sender
- Defined in:
- lib/adaptive_pay/sender.rb
Instance Attribute Summary collapse
-
#client_ip ⇒ Object
Returns the value of attribute client_ip.
-
#email ⇒ Object
Returns the value of attribute email.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Sender
constructor
A new instance of Sender.
Constructor Details
#initialize(options = {}) ⇒ Sender
Returns a new instance of Sender.
6 7 8 9 10 |
# File 'lib/adaptive_pay/sender.rb', line 6 def initialize(={}) .each do |k, v| send "#{k}=", v end end |
Instance Attribute Details
#client_ip ⇒ Object
Returns the value of attribute client_ip.
4 5 6 |
# File 'lib/adaptive_pay/sender.rb', line 4 def client_ip @client_ip end |
#email ⇒ Object
Returns the value of attribute email.
4 5 6 |
# File 'lib/adaptive_pay/sender.rb', line 4 def email @email end |