README.md in ruby-identitas-api-0.5.0 vs README.md in ruby-identitas-api-0.6.0

- old
+ new

@@ -33,58 +33,42 @@ response = request.me ``` ## Endpoints -### me +### verify credential -Get detail information about user +Verify your credential parameters : | name | type | | ------------ | ------------ | |`access_token`| query string | example : ```ruby -response = request.me.parsed_response +response = request.verify_credential.parsed_response ``` -### my invitations +### me -Get my invitations +Get detail information about user parameters : | name | type | | ------------ | ------------ | |`access_token`| query string | example : ```ruby -response = request.my_invitations.parsed_response +response = request.me.parsed_response ``` -### my invitations count - -Get my invitations count - -parameters : - -| name | type | -| ------------ | ------------ | -|`access_token`| query string | - -example : - -```ruby -response = request.my_invitations_count.parsed_response -``` - ### token status Check token status parameters : @@ -134,26 +118,9 @@ example : ```ruby response = request.create_user({email: "m.yunan.helmy@gmail.com", first_name: "Yunan", last_name: "Helmy", password: "mys3cret", password_confirmation: "mys3cret"}).parsed_response -``` - -### Invite user - -Invite user - -parameters : - -| name | type | -| ------------ | ------------ | -|`access_token`| query string | -|`email`| query string | - -example : - -```ruby -response = request.invite_user({email: "m.yunan.helmy@gmail.com"}).parsed_response ``` ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.