lib/ruby/identitas/endpoints/me.rb in ruby-identitas-api-0.5.0 vs lib/ruby/identitas/endpoints/me.rb in ruby-identitas-api-0.6.0
- old
+ new
@@ -6,21 +6,14 @@
options.merge!({access_token: @token})
endpoint = build_endpoint("/v1/me")
self.class.get(endpoint, query: options)
end
- def my_invitations(options = {})
+ def verify_credential(options = {})
options.merge!({access_token: @token})
- endpoint = build_endpoint("/v1/me/invitations")
+ endpoint = build_endpoint("/v1/verify_credential")
self.class.get(endpoint, query: options)
end
-
- def my_invitations_count(options = {})
- options.merge!({access_token: @token})
- endpoint = build_endpoint("/v1/me/invitations/count")
- self.class.get(endpoint, query: options)
- end
-
end
end
end
end