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

read_later

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

read_later

  • 0.1.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Installation:

gem install read_later

Here is an example Sinatra application to get you going:

require 'rubygems'
require 'sinatra'
require 'read_later'

get '/' do
  read_later = ReadLater.new

  # Application variables
  # URL (Required):
  # h post_path(@post)
  url = "http://writing.bryanwoods4e.com/1-poor-poor-child"

  # Title (Optional, but preferred):
  # h @post.title
  title = "Poor, poor child. You have no idea."

  # Can customize the following optional iframe parameters:
  # Border, scrolling, width, height, transparency,
  # And frameborder. For example:
  read_later.height = 100
  read_later.transparency = false

  # Create an instance variable for button with required
  # URL and optional title arguments 
  @instapaper_button = read_later.instapaper_button(url, title)

  # Tell Sinatra to render button in the view:
  # <%= @instapaper_button %>
  @instapaper_button
end

FAQs

Package last updated on 06 Feb 2011

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