README.md in colissimo_label-0.2.0 vs README.md in colissimo_label-0.3.0
- old
+ new
@@ -84,11 +84,11 @@
country_code: 'Normalized country code of the addressee',
phone: 'Phone number of the addressee',
mobile: 'Mobile number of the addressee',
email: 'Email of the addressee'
}
- ).call
+ ).perform
```
For a foreign address (which required customs declaration):
```ruby
@@ -125,10 +125,10 @@
country_code: 'FR',
currency_code: 'EUR',
customs_code: 'hsCode' # Harmonized system code of your product
}
]
- ).call
+ ).perform
```
In both cases, if the label cannot be generated it raises a StandardError with the reason. Otherwise, the parcel number is returned and files saved in the specified folders.
## Documentation