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

line-okuru

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

line-okuru

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Line::Okuru

ActionView helpers for creating NAVER LINE share buttons.

Installation

Add this line to your application's Gemfile:

gem 'line-okuru'

And then execute:

$ bundle

Or install it yourself as:

$ gem install line-okuru

Usage

There're currently 5 types of button available.

Buttons

In this gem, the above button types are named as below:

  • Wide (88x20px)
  • Small (20x20px)
  • Default: Medium (30x30px)
  • Large (40x40px)
  • Tall (30x70px)

To insert button to your template (Use ERB for example),

<%= line_share_button "Check out Line Okuru https://github.com/polydice/line-okuru" %>
	

To insert button of different type,

<%= line_share_button "Check out Line Okuru https://github.com/polydice/line-okuru", :button_type => :large %>	

Also, you can pass in HTML attributes for button as parameters as using other ActionView helpers.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

The codes are under MIT License, and the button images are copyrighted by NAVER.

Official Setup Guide for LINE Send Buttons (Japanese)

FAQs

Package last updated on 27 Dec 2012

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