mirror of
https://github.com/dkam/paapi.git
synced 2025-12-28 15:14:52 +00:00
Add a configure method to the class
This commit is contained in:
19
README.md
19
README.md
@@ -20,6 +20,25 @@ Or install it yourself as:
|
||||
|
||||
## Usage
|
||||
|
||||
The library can be initialised with a Rails initializer such as
|
||||
|
||||
```ruby
|
||||
Paapi.configure do |config|
|
||||
config.access_key = 'your-access-key'
|
||||
config.secret_key = 'your-secret-key'
|
||||
config.partner_tag = 'your-tag'
|
||||
end
|
||||
```
|
||||
|
||||
Configurable itemes:
|
||||
* access_key
|
||||
* secret_key
|
||||
* partner_tag
|
||||
* partner_type
|
||||
* marketplace
|
||||
* test_mode
|
||||
|
||||
|
||||
```ruby
|
||||
require 'paapi'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user