Sha256: ac25c9900d9efda698e58557d218128eea540cdf8cfb9ffc2afb464a291daae0
Contents?: true
Size: 552 Bytes
Versions: 2
Compression:
Stored size: 552 Bytes
Contents
module Paymill module Request class Base attr_reader :info attr_accessor :response def initialize(info) @info = info end def perform connection.setup_https send_request validator.validated_data_for(response) end protected def send_request self.response = connection.request end def connection @connection ||= Connection.new(info) end def validator @validator ||= Validator.new(info) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
paymill-0.5.1 | lib/paymill/request/base.rb |
paymill-0.5.0 | lib/paymill/request/base.rb |