Low commit activity in last 3 years
No release in over a year
LINE Notify API client library
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 3

Runtime

>= 2, < 3
 Project Readme

line_notify_client

LINE Notify API client library, written in Ruby https://notify-bot.line.me/doc/en/

Install

gem install line_notify_client

or

# Gemfile
gem 'line_notify_client'

Library

require 'line_notify_client'

# OAuth2 Auhentication Documentation: https://notify-bot.line.me/doc/en/
access_token = 'access token from LINE Notify oauth2 authentication'

# new client
client = LineNotifyClient.new(access_token)

# Sends notifications to users or groups are related to an access token.
client.notify('message')

# Check the validity of an access token.
client.status

# Disable an access token
client.revoke

Development

  • Run rspec
bundle exec rake