Skip to content
This repository has been archived by the owner on Sep 11, 2018. It is now read-only.

Commit

Permalink
Fix wording of Nexaas ID
Browse files Browse the repository at this point in the history
  • Loading branch information
buiatte committed Aug 21, 2018
1 parent 8ef71c2 commit 8511331
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is the official Ruby client for the [Nexaas ID](https://id.nexaas.com) API.
[![Code Climate Grade](https://codeclimate.com/github/myfreecomm/nexaas-id-client-ruby.png)](https://codeclimate.com/github/myfreecomm/nexaas-id-client-ruby)
[![Inline docs](http://inch-ci.org/github/myfreecomm/nexaas-id-client-ruby.svg)](http://inch-ci.org/github/myfreecomm/nexaas-id-client-ruby)

NexaasID API docs: https://id.nexaas.com/static/docs/
Nexaas ID API docs: https://id.nexaas.com/static/docs/

nexaas-id-client-ruby RDoc documentation: http://rubydoc.info/github/myfreecomm/nexaas-id-client-ruby/frames/

Expand Down Expand Up @@ -105,7 +105,7 @@ contacts.phone_numbers # ['+55 21 12345678']

sign_up_resource = client.sign_up

# Invites another user to NexaasID on behalf of the current user
# Invites another user to Nexaas ID on behalf of the current user
sign_up = sign_up_resource.create('another.john@example.com')
sign_up.id # '1061a775-b86c-4082-b801-767f651fa4c7'
sign_up.email # 'another.john@example.com'
Expand Down Expand Up @@ -136,7 +136,7 @@ client = NexaasID::Client::Application.new

sign_up_resource = client.sign_up

# Invites another user to NexaasID on behalf of the application
# Invites another user to Nexaas ID on behalf of the application
sign_up = sign_up_resource.create('another.john@example.com')
sign_up.id # '1061a775-b86c-4082-b801-767f651fa4c7'
sign_up.email # 'another.john@example.com'
Expand Down
2 changes: 1 addition & 1 deletion lib/nexaas_id/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class NexaasID::Configuration

def initialize
@url = 'https://id.nexaas.com'
@user_agent = "NexaasID Ruby Client v#{NexaasID::VERSION}"
@user_agent = "Nexaas ID Ruby Client v#{NexaasID::VERSION}"
end

def url_for(path)
Expand Down
2 changes: 1 addition & 1 deletion lib/nexaas_id/resources/profile.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# A wrapper to NexaasID's profile API
# A wrapper to Nexaas ID's profile API
#
# [API]
# Documentation:
Expand Down
8 changes: 4 additions & 4 deletions lib/nexaas_id/resources/sign_up.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# A wrapper to NexaasID's sign up API
# A wrapper to Nexaas ID's sign up API
#
# [API]
# Documentation:
#
# @example Inviting a new user to NexaasID (on behalf of an existing user):
# @example Inviting a new user to Nexaas ID (on behalf of an existing user):
# client = NexaasID::Client::Identity.new(credentials)
# client.sign_up.create('john.doe@gmail.com')
#
# @example Inviting a new user to NexaasID (on behalf of an application):
# @example Inviting a new user to Nexaas ID (on behalf of an application):
# client = NexaasID::Client::Application.new
# client.sign_up.create('john.doe@gmail.com')
#
# @see NexaasID::Client::Identity#initialize
# @see NexaasID::Client::Application#initialize
class NexaasID::Resources::SignUp < NexaasID::Resources::Base

# Invites an user to NexaasID, by creating a new sign up.
# Invites an user to Nexaas ID, by creating a new sign up.
#
# [API]
# Method: <tt>POST /api/v1/sign_up</tt>
Expand Down
4 changes: 2 additions & 2 deletions lib/nexaas_id/resources/widget.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# A wrapper to NexaasID's widget API
# A wrapper to Nexaas ID's widget API
#
# [API]
# Documentation:
Expand All @@ -7,7 +7,7 @@
# client = NexaasID::Client::Identity.new(credentials)
# client.widget.navbar_url
#
# @example Inviting a new user to NexaasID (on behalf of an application):
# @example Inviting a new user to Nexaas ID (on behalf of an application):
# client = NexaasID::Client::Application.new
# client.sign_up.create('john.doe@gmail.com')
#
Expand Down

0 comments on commit 8511331

Please sign in to comment.