Sha256: 6bfcb73f6c665aa2ded3fc6924ddd0058f1530816630c69c4b9f4df49312b2fa
Contents?: true
Size: 554 Bytes
Versions: 8
Compression:
Stored size: 554 Bytes
Contents
module Paypal module Payment class Response::Reference < Base attr_required :identifier attr_optional :description, :status attr_accessor :info, :payee_info def initialize(attributes = {}) super store_payee_info(attributes) if attributes[:payee_email] end private def store_payee_info(attributes) @payee_info = Response::PayeeInfo.new( payee_email: attributes.delete(:payee_email), payee_id: attributes.delete(:payee_id) ) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems