Class: Ruby::Identitas::Main

Inherits:
Object
  • Object
show all
Includes:
HTTParty, Endpoints::Internal::Password, Endpoints::Me, Endpoints::Password, Endpoints::TokenStatus, Endpoints::User
Defined in:
lib/ruby/identitas/main.rb

Instance Method Summary collapse

Methods included from Endpoints::Internal::Password

#user_password

Methods included from Endpoints::User

#create_user

Methods included from Endpoints::Password

#password

Methods included from Endpoints::TokenStatus

#token_status

Methods included from Endpoints::Me

#me, #verify_credential

Constructor Details

#initialize(token, api_key = "") ⇒ Main

Returns a new instance of Main.



17
18
19
20
21
# File 'lib/ruby/identitas/main.rb', line 17

def initialize(token, api_key = "")
  @base_uri = Ruby::Identitas::Api.url
  @token = token
  @ap_key = api_key
end