Skip to content
This repository was archived by the owner on Jan 17, 2024. It is now read-only.

Americastestkitchen/gangway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gangway

ENV Variables

Gangway requires eWay credentials in the .env file

EWAY_USERNAME=username
EWAY_PASSWORD=password

Usage example

require 'gangway'

# add a user
Gangway::Subscriber.add({email: '[email protected]',
                         subscriber_data: {first_name: 'Test', last_name: 'User'}, handler_id: 1})

# get subscriber data
Gangway::Subscriber.get({email: '[email protected]'})

# get subscription status
Gangway::Subscriber.subscription_status({email: '[email protected]'})

# change user's email
Gangway::Subscriber.change_email({old_email: '[email protected]', new_email: '[email protected]'})

About

eWay SOAP wrapper

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages