File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11PATH
22 remote: .
33 specs:
4- fastcomments (0.2 .0 )
4+ fastcomments (0.3 .0 )
55 typhoeus (~> 1.0 , >= 1.0.1 )
66
77GEM
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ that can be made directly from a browser/mobile device/etc without authenticatio
3939** Important:** You must set your API key on the ApiClient before making authenticated requests. If you don't, requests will fail with a 401 error.
4040
4141``` ruby
42- require ' fastcomments-client '
42+ require ' fastcomments'
4343
4444# Create and configure the API client
4545config = FastCommentsClient ::Configuration .new
7676Public endpoints don't require authentication:
7777
7878``` ruby
79- require ' fastcomments-client '
79+ require ' fastcomments'
8080
8181public_api = FastCommentsClient ::PublicApi .new
8282
@@ -114,7 +114,6 @@ For SSO examples, see below.
114114
115115``` ruby
116116require ' fastcomments'
117- require ' fastcomments-client'
118117
119118# Create Simple SSO token
120119user = FastComments ::SSO ::SimpleSSOUserData .new (
@@ -146,7 +145,6 @@ puts "Status: #{response}"
146145
147146``` ruby
148147require ' fastcomments'
149- require ' fastcomments-client'
150148
151149# Create Secure SSO token
152150user = FastComments ::SSO ::SecureSSOUserData .new (
Original file line number Diff line number Diff line change 33require_relative 'fastcomments/sso/secure_sso_user_data'
44require_relative 'fastcomments/sso/simple_sso_user_data'
55require_relative 'fastcomments/sso/fastcomments_sso'
6+ require 'fastcomments-client'
67
78module FastComments
89 VERSION = '0.3.0'
You can’t perform that action at this time.
0 commit comments