Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yournotify Ruby

Ruby client for the current Yournotify API.

Install

gem install yournotify-ruby

Quickstart

require 'yournotify'

client = Yournotify::Client.new('YOURNOTIFY_API_KEY')

begin
	client.validate_auth
	client.send_email(
		'Welcome',
		'Welcome',
		'<p>Hello</p>',
		'Hello',
		'draft',
		'noreply@smtp.yournotify.net',
		[{ email: 'person@example.com', name: 'Person' }]
	)
rescue Yournotify::ApiError => e
	puts [e.status, e.body]
end

Supported Surface

  • Campaigns: create_campaign, send_email, send_sms, send_whatsapp, send_push, send_inapp, test_campaign, analytics helpers
  • Contacts: add_contact, get_contacts
  • Rewards: get_rewards, create_reward, send_reward, get_reward_products
  • Automation: identify, track
  • Auth: validate_auth, get_profile

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages