Sha256: ed5201cc50a885e66944dab5c966ec9b3cf4f2439a32febdbd6276e32bab9ff9

Contents?: true

Size: 505 Bytes

Versions: 2

Compression:

Stored size: 505 Bytes

Contents

### Resending carnet parcel

To resend the carnet parcel, the parcel must have a `waiting` status.

If the parcel contemplates this requirement, you just have to provide the carnet id, the parcel number and a email to resend it:

```ruby
params = {
  id: 1000,
  parcel: 1
}

body = {
  email: 'oldbuck@gerencianet.com.br'
}

gerencianet = Gerencianet.new(options)
puts gerencianet.resend_parcel(params: params, body: body)
```

If everything goes well, the return will be:

```ruby
{
  "code": 200
}
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gerencianet-0.0.7 docs/carnet-resend-parcel.md
gerencianet-0.0.6 docs/carnet-resend-parcel.md