Sha256: 1365ef197050e4321f0eb1508f6adf58c0e8770e7549325adb8d62171177112b
Contents?: true
Size: 797 Bytes
Versions: 1
Compression:
Stored size: 797 Bytes
Contents
require "ruby/identitas/endpoints/me" require "ruby/identitas/endpoints/token_status" require "ruby/identitas/endpoints/password" require "ruby/identitas/endpoints/user" require "ruby/identitas/endpoints/internal/password" module Ruby module Identitas class Main include HTTParty include Ruby::Identitas::Endpoints::Me include Ruby::Identitas::Endpoints::TokenStatus include Ruby::Identitas::Endpoints::Password include Ruby::Identitas::Endpoints::User include Ruby::Identitas::Endpoints::Internal::Password def initialize(token, api_key = "") @base_uri = Ruby::Identitas::Api.url @token = token @ap_key = api_key end private def build_endpoint(u) @base_uri + u end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-identitas-api-0.7.0 | lib/ruby/identitas/main.rb |