Sha256: bbe60a0cee0f13402b47981067a0d1f047d922fbe81924dd266cddc5125521c7
Contents?: true
Size: 437 Bytes
Versions: 3
Compression:
Stored size: 437 Bytes
Contents
module Laundry module PaymentsGateway class Client < ResponseModel def initialize_with_response(response) self.record = response[:get_client_response][:get_client_result][:client_record] end def id client_id end def accounts_driver require_merchant! AccountDriver.new(self, self.merchant) end alias_method :accounts, :accounts_driver end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
laundry-0.0.8 | lib/laundry/payments_gateway/models/client.rb |
laundry-0.0.7 | lib/laundry/payments_gateway/models/client.rb |
laundry-0.0.6 | lib/laundry/payments_gateway/models/client.rb |