You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Hashie::MashはRubygemsのパッケージで公開されているclassのひとつで,m.key = valueのような書き方でkeyにアクセスできるHashのようなもの.twitterパッケージの内部でも使われている. GitHub - intridea/hashie: Hashie is a collection of classes and mixins that make hashes more powerful. 使い方 gemコマンドでインストールできる. $ sudo gem install hashie利用するにはhashieをrequireする必要がある(Ruby1.8以前の場合は先にrequire "rubygems"しておく). require "hashie" 以下,コード例.これだけでなんとなく雰囲気は分かると思う. m = Hashie::Mash.new
自社サービスにAPIを実装する事ってあまりないですよね。 kamadoのプロダクトも現在はAPIは公開してません。 もし提供するのであれば、簡易的な方法ですが、ユーザーテーブルにtokenカラムを追加して、API用のルーティングを作成する…という方法が考えられると思います。 しかし、その実装時間でより良いAPIが実装出来るとしたら素晴らしいですよね。 そこで紹介したいのがgem doorkeeperです。 日本語の記事が見当たらなかったので記事にしました。 github https://github.com/applicake/doorkeeper gem doorkeeperってどんな機能があるのか? 簡単に説明すると、 ・アプリケーションの管理機能 ・アプリケーションの承認管理 ・スコープの設定 いってしまえば、Facebook API(に近い実装)そのまま実装出来ます。 しかもOAu
The Twitter Ruby Gem The Twitter Ruby Gem provides a Ruby interface to the X (Twitter) API v1.1. For new projects, or if you need API v2 support, use the X gem as a more modern alternative. It supports both API v1.1 and API v2. 💖 Sponsoring Open source maintenance takes real time and effort. By sponsoring development, you help us: 🛠 Maintain the library: Keeping it up-to-date and secure. 🌈 Add
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く