Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pepipost_sdk_ruby

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pepipost_sdk_ruby

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Pepipost SDK - Ruby

This is the official Pepipost SDK for Ruby.

It requires Ruby 2+

This SDK requires the Unirest library.

Installation:

Run the build command

gem build pepipost_apiv_10.gemspec

Run the install command

gem install ./pepipost_apiv_10-1.0.0.gem

Usage:

require 'pepipost_apiv_10'

data = { 
    "api_key"=>"yoursecretapikey",
    "recipients"=> ["recipient1@example.com","recipient2@example.com"],
    "email_details" => {
        "fromname" => "sender name",
        "subject" => "This is a test email sent usig Pepipost SDK for Ruby",
        "from" => "from@example.com",
        "content" => "<p>This is a test email sent using Pepipost SDK for Ruby</p>",
    }   
}


email = PepipostApiv10::Email.new 
response = email.send data

print response

Author

Tabby/Pepipost Devs

This SDK was semi-automatically generated by APIMATIC v2.0. Thanks to APIMATIC

FAQs

Package last updated on 03 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc