Marcelo
Builds for 1 pipeline failed in 0 seconds

Added forgotten file

require 'json'
# Mocks of "objects" (JSON) returned when creating a charge
module ConektaChargeCreateObject
CARD_CREATE_CHARGE_OBJECT = {"id":"5511d4ce2412294cf6000081","livemode":false,"created_at":1468432891,"status":"paid","currency":"MXN","description":"prueba tarjeta payment for Competencia con términos in category: Categoría Grande","reference_id":"1549_cct","failure_code":nil,"failure_message":nil,"monthly_installments":nil,"device_fingerprint":"hu4bic5p1ld1q5y7gqwu08o6wk30k7ok","refunds":{},"payment_method":{"name":"John Doe","exp_month":"12","exp_year":"19","auth_code":"731939","object":"card_payment","type":"credit","normalized_device_fingerprint":nil,"last4":"4242","brand":"visa","issuer":"","account_type":"","country":"US","fraud_score":19,"fraud_indicators":{}},"details":{"name":"prueba tarjeta ","phone":nil,"email":"pt@pf.com","line_items":{"0":{"name":"prueba tarjeta ","description":"prueba tarjeta payment for Competencia con términos in category: Categoría Grande","unit_price":10400,"quantity":1,"sku":nil,"category":nil}}},"object":"charge","amount":10400,"paid_at":1468432892,"fee":640,"customer_id":""}.to_json
OXXO_CREATE_CHARGE_OBJECT = {"id":"5514803f241229981e0022e6","livemode":false,"created_at":1468429844,"status":"pending_payment","currency":"MXN","description":"loll payment for Competencia con términos in category: Categoría Grande","reference_id":"1548_cct","failure_code":nil,"failure_message":nil,"monthly_installments":nil,"device_fingerprint":nil,"refunds":{},"payment_method":{"barcode":"12345678901234567890123456789012","barcode_url":"http://s3.amazonaws.com/cash_payment_barcodes/12345678901234567890123456789012.png","object":"cash_payment","type":"oxxo","expires_at":1468627200,"store_name":"OXXO"},"details":{"name":"loll","phone":nil,"email":"lolz@lo.com","line_items":{"0":{"name":"loll","description":"loll payment for Competencia con términos in category: Categoría Grande","unit_price":10400,"quantity":1,"sku":nil,"category":nil}}},"object":"charge","amount":10400,"paid_at":nil,"fee":422,"customer_id":""}.to_json
SPEI_CREATE_CHARGE_OBJECT = {}
end