Class: Ruby::Identitas::Main
- Inherits:
-
Object
- Object
- Ruby::Identitas::Main
- Includes:
- HTTParty, Endpoints::Internal::Password, Endpoints::Me, Endpoints::Password, Endpoints::TokenStatus, Endpoints::User
- Defined in:
- lib/ruby/identitas/main.rb
Instance Method Summary collapse
-
#initialize(token, api_key = "") ⇒ Main
constructor
A new instance of Main.
Methods included from Endpoints::Internal::Password
Methods included from Endpoints::User
Methods included from Endpoints::Password
Methods included from Endpoints::TokenStatus
Methods included from Endpoints::Me
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 |