Skip to content

Commit f1886ba

Browse files
committed
clarify imports
1 parent 319721c commit f1886ba

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
fastcomments (0.2.0)
4+
fastcomments (0.3.0)
55
typhoeus (~> 1.0, >= 1.0.1)
66

77
GEM

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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
4545
config = FastCommentsClient::Configuration.new
@@ -76,7 +76,7 @@ end
7676
Public endpoints don't require authentication:
7777

7878
```ruby
79-
require 'fastcomments-client'
79+
require 'fastcomments'
8080

8181
public_api = FastCommentsClient::PublicApi.new
8282

@@ -114,7 +114,6 @@ For SSO examples, see below.
114114

115115
```ruby
116116
require 'fastcomments'
117-
require 'fastcomments-client'
118117

119118
# Create Simple SSO token
120119
user = FastComments::SSO::SimpleSSOUserData.new(
@@ -146,7 +145,6 @@ puts "Status: #{response}"
146145

147146
```ruby
148147
require 'fastcomments'
149-
require 'fastcomments-client'
150148

151149
# Create Secure SSO token
152150
user = FastComments::SSO::SecureSSOUserData.new(

lib/fastcomments.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
require_relative 'fastcomments/sso/secure_sso_user_data'
44
require_relative 'fastcomments/sso/simple_sso_user_data'
55
require_relative 'fastcomments/sso/fastcomments_sso'
6+
require 'fastcomments-client'
67

78
module FastComments
89
VERSION = '0.3.0'

0 commit comments

Comments
 (0)