Sha256: be7199e2fbd23c08222e241b8bc87979c1478d5dc60e4cdc8c2144d98edc31b2
Contents?: true
Size: 641 Bytes
Versions: 1
Compression:
Stored size: 641 Bytes
Contents
module PayPal module ExpressCheckout module Response class Address < PayPal::ExpressCheckout::Response::Base has_fields :address # mapping( # :confirmation => :CONFIRMATIONCODE, # :street_match => :STREETMATCH, # :zip_match => :ZIPMATCH, # :country => :COUNTRYCODE # :token => :TOKEN, # ) def confirmed? confirmation == 'Confirmed' end def street_matched? street_match == 'Matched' end def zip_matched? zip_match == 'Matched' end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
paypal-payment-0.1.2 | lib/paypal/express_checkout/response/address.rb |