Class: AdaptivePay::Sender

Inherits:
Object
  • Object
show all
Defined in:
lib/adaptive_pay/sender.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options={})
  options.each do |k, v|
    send "#{k}=", v
  end
end

Instance Attribute Details

#client_ipObject

Returns the value of attribute client_ip.



4
5
6
# File 'lib/adaptive_pay/sender.rb', line 4

def client_ip
  @client_ip
end

#emailObject

Returns the value of attribute email.



4
5
6
# File 'lib/adaptive_pay/sender.rb', line 4

def email
  @email
end