0.0
No release in over 3 years
Low commit activity in last 3 years
A little Gem to make your life easier when dealing with Adyen skins
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0

Runtime

 Project Readme

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. Std user rights have to be given as well!

Usage

Simple usage case to get all Skins:

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

zip_file = skin.compile # unzip file and move to skin path, backup + overwrite existing files

skin.upload(zip_file)

skin.update # to get latest version

skin.test_url # a URL which you can use to 'live' test you skin

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 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.