README.md in getnet_api-0.1.1 vs README.md in getnet_api-0.1.2
- old
+ new
@@ -57,11 +57,11 @@
## Pagamentos
Nesse endpoint serão recebidos dados para os pagamentos.
-### Montar [Endereço](http://www.rubydoc.info/github/qw3/superpay_api/GetnetApi/Address)
+### Montar [Endereço](https://www.rubydoc.info/gems/getnet_api/GetnetApi/Address)
```ruby
obj_endereco = GetnetApi::Address.new ({
street: "Rua Dom Pedro II",
number: "1330",
@@ -71,11 +71,11 @@
state: "SP",
postal_code: "13560320",
})
```
-### Montar [Cliente](http://www.rubydoc.info/github/qw3/superpay_api/GetnetApi/Customer)
+### Montar [Cliente](https://www.rubydoc.info/gems/getnet_api/GetnetApi/Customer)
```ruby
obj_cliente = GetnetApi::Customer.new ({
customer_id: 1,
first_name: "Leandro",
@@ -88,11 +88,11 @@
celphone_number: "16955555555",
endereco: obj_endereco, # Objeto da classe GetnetApi::Address
})
```
-### Montar [Pedido](http://www.rubydoc.info/github/qw3/superpay_api/GetnetApi/Order)
+### Montar [Pedido](https://www.rubydoc.info/gems/getnet_api/GetnetApi/Order)
```ruby
obj_pedido = GetnetApi::Order.new ({
order_id: "123456",
sales_tax: 12,
@@ -100,11 +100,11 @@
})
```
---
-### Montar [Pagamento](http://www.rubydoc.info/github/qw3/superpay_api/GetnetApi/Payment)
+### Montar [Pagamento](https://www.rubydoc.info/gems/getnet_api/GetnetApi/Payment)
```ruby
obj_pagamento = GetnetApi::Payment.new ({
amount: 100, # Quantidade em centavos
order: obj_pedido, # Objeto da classe GetnetApi::Order
@@ -112,11 +112,11 @@
billing_address: obj_endereco, # Objeto da classe GetnetApi::Address
})
```
## Criando um pagamento na GetNet do tipo Credit
-### Montar [Cartão](http://www.rubydoc.info/github/qw3/superpay_api/GetnetApi/Credit)
+### Montar [Cartão](https://www.rubydoc.info/gems/getnet_api/GetnetApi/Credit)
```ruby
obj_credit = GetnetApi::Credit.new ({
delayed: false,
authenticated: false,
@@ -137,10 +137,10 @@
---
## Criando um pagamento na GetNet do tipo Boleto
-### Montar [Boleto](http://www.rubydoc.info/github/qw3/superpay_api/GetnetApi/Boleto)
+### Montar [Boleto](https://www.rubydoc.info/gems/getnet_api/GetnetApi/Boleto)
```ruby
obj_boleto = GetnetApi::Boleto.new ({
our_number: "000001946598",
document_number: "170500000019763",
\ No newline at end of file