Class: Paymill::Request::Base
- Inherits:
-
Object
- Object
- Paymill::Request::Base
- Defined in:
- lib/paymill/request/base.rb
Instance Attribute Summary collapse
-
#info ⇒ Object
readonly
Returns the value of attribute info.
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(info) ⇒ Base
constructor
A new instance of Base.
- #perform ⇒ Object
Constructor Details
permalink #initialize(info) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/paymill/request/base.rb', line 7 def initialize(info) @info = info end |
Instance Attribute Details
permalink #info ⇒ Object (readonly)
Returns the value of attribute info.
4 5 6 |
# File 'lib/paymill/request/base.rb', line 4 def info @info end |
permalink #response ⇒ Object
Returns the value of attribute response.
5 6 7 |
# File 'lib/paymill/request/base.rb', line 5 def response @response end |
Instance Method Details
permalink #perform ⇒ Object
[View source]
11 12 13 14 15 16 |
# File 'lib/paymill/request/base.rb', line 11 def perform connection.setup_https send_request validator.validated_data_for(response) end |