Sha256: 076cf7a9e0442c5c64a08c838432195bf4e231ca3c1c2483e211b0504d1ea643

Contents?: true

Size: 1.62 KB

Versions: 1

Compression:

Stored size: 1.62 KB

Contents

# Adyen Admin  [![](http://travis-ci.org/rngtng/adyen-admin.png)](http://travis-ci.org/rngtng/adyen-admin)

Adyen Admin Skin API and Command line tool

A little Gem to make your life easier when dealing with Adyen skins. It offers simple functions to maniu

## Setup
Install gem

    gem install adyen-admin

Make sure you create a Adyen user with [Technical Setting rights](https://ca-test.adyen.com/ca/ca/config/users.shtml). *Std user rights have to be given as well!*


## Usage

Simple usage case to get all Skins:

```ruby
require 'adyen/admin'

Adyen::Admin.login(<accountname>, <username>, <password>)

Adyen::Admin::Skin.all  #returns all remote + local skins

skin = Adyen::Admin::Skin.find("<skin code>")  #find (remote) skin by code

zip_file = skin.download # get zip file

skin.decompile(zip_file) # unzip file and move to skin path, backup + overwrite existing files

```

### Skins

Then Skin object represent an adyen skin is mapped to local folder, to a remote endpoint or both. Local only skins are `froozen` to indicate the missing endpoint.

By now a Skin has following actions:

  * downloaded
  * decompiled
  * uploaded
  * compiled
  * retrieve versions
  * retrieve test_url

## Dependencies

Depends on [mechanize](http://mechanize.rubyforge.org/) to access the webinterface


## Contributing

We'll check out your contribution if you:

- Provide a comprehensive suite of tests for your fork.
- Have a clear and documented rationale for your changes.
- Package these up in a pull request.

We'll do our best to help you out with any contribution issues you may have.


## License

The license is included as LICENSE in this directory.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adyen-admin-0.0.7 README.md