class Ruby::Identitas::Main

Public Class Methods

new(token, api_key = "") click to toggle source
# File lib/ruby/identitas/main.rb, line 19
def initialize(token, api_key = "")
  @base_uri = Ruby::Identitas::Api.url
  @token = token
  @api_key = api_key
end

Private Instance Methods

build_endpoint(u) click to toggle source
# File lib/ruby/identitas/main.rb, line 26
def build_endpoint(u)
  @base_uri + u
end