-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
453f765
commit 2d10fc9
Showing
26 changed files
with
1,206 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
continue | ||
Requestor.new.request(:get, _url, {}).to_json | ||
Requestor.new.request(:get, _url, {}) | ||
params | ||
continue | ||
Conekta::Order.where() | ||
list | ||
Conekta::Order.where({"limit" => 5, "next" => list[9].id}) | ||
window.first.id | ||
window | ||
continue | ||
instance.load_from(response) | ||
response | ||
continue | ||
data.map{|ad| ad[1]}.to_json | ||
data.map{|ad| ad[1]} | ||
{key: 1}.map{|ad| ad[1]} | ||
{}.map{|ad| ad[1]} | ||
data.map{|ad| ad[1]} | ||
data.map{|ad| ad} | ||
data.map | ||
data.to_a | ||
data | ||
continue | ||
Conekta::Order.all.to_a | ||
Conekta::Order.all | ||
Conekta::Order.all.first | ||
Conekta::Order.first | ||
Conekta::Order.find(list[9].id) | ||
Conekta::Order.all.to_json | ||
Conekta::Order.find(list[9].id) | ||
Conekta::Order.all | ||
list[9].id | ||
list[9] | ||
window | ||
continue | ||
asd.class_name | ||
asd.class | ||
asd | ||
asd = Conekta::Log.find(e.id) | ||
Conekta::Log.find(e.id) | ||
asd = _ | ||
Conekta::Log.find(e.id) | ||
expect(event).to be_a(Conekta::Log) | ||
Conekta::Log.find(e.id) | ||
e.id | ||
e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Conekta::ChargesOrderResponse | ||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
| ---- | ---- | ----------- | ----- | | ||
| **has_more** | **Boolean** | Indicates if there are more pages to be requested | | | ||
| **object** | **String** | Object type, in this case is list | | | ||
| **data** | [**Array<ChargesOrderResponseAllOfData>**](ChargesOrderResponseAllOfData.md) | | [optional] | | ||
|
||
## Example | ||
|
||
```ruby | ||
require 'conekta' | ||
|
||
instance = Conekta::ChargesOrderResponse.new( | ||
has_more: false, | ||
object: list, | ||
data: null | ||
) | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Conekta::ChargesOrderResponseAllOfData | ||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
| ---- | ---- | ----------- | ----- | | ||
| **amount** | **Integer** | | [optional] | | ||
| **channel** | [**ChargeResponseChannel**](ChargeResponseChannel.md) | | [optional] | | ||
| **created_at** | **Integer** | | [optional] | | ||
| **currency** | **String** | | [optional] | | ||
| **customer_id** | **String** | | [optional] | | ||
| **description** | **String** | | [optional] | | ||
| **device_fingerprint** | **String** | | [optional] | | ||
| **failure_code** | **String** | | [optional] | | ||
| **failure_message** | **String** | | [optional] | | ||
| **id** | **String** | Charge ID | [optional] | | ||
| **livemode** | **Boolean** | Whether the charge was made in live mode or not | [optional] | | ||
| **object** | **String** | | [optional] | | ||
| **order_id** | **String** | Order ID | [optional] | | ||
| **paid_at** | **Integer** | Payment date | [optional] | | ||
| **payment_method** | [**ChargeResponsePaymentMethod**](ChargeResponsePaymentMethod.md) | | [optional] | | ||
| **reference_id** | **String** | Reference ID of the charge | [optional] | | ||
| **refunds** | [**ChargeResponseRefunds**](ChargeResponseRefunds.md) | | [optional] | | ||
| **status** | **String** | | [optional] | | ||
|
||
## Example | ||
|
||
```ruby | ||
require 'conekta' | ||
|
||
instance = Conekta::ChargesOrderResponseAllOfData.new( | ||
amount: 4321, | ||
channel: null, | ||
created_at: 1676386026, | ||
currency: MXN, | ||
customer_id: null, | ||
description: Payment from order, | ||
device_fingerprint: 6FR3chaU4Y1nGAW5NAGd1rcjAKa142Ba, | ||
failure_code: suspected_fraud, | ||
failure_message: Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso., | ||
id: 63efa757cf65380001aec040, | ||
livemode: false, | ||
object: charge, | ||
order_id: ord_2tN73UdUSNrYRPD9r, | ||
paid_at: 1676390742, | ||
payment_method: null, | ||
reference_id: ref_2tN73UdUSNrYRPD9r, | ||
refunds: null, | ||
status: pending_payment | ||
) | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.