Sha256: db39ed9ff0c85e2a5889c8e8659d25a7295ce3ec03855924df3e88d27735df3a
Contents?: true
Size: 643 Bytes
Versions: 3
Compression:
Stored size: 643 Bytes
Contents
require "ruby/identitas/endpoints/me" require "ruby/identitas/endpoints/token_status" require "ruby/identitas/endpoints/password" require "ruby/identitas/endpoints/user" 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 def initialize(token) @base_uri = Ruby::Identitas::Api.url @token = token end private def build_endpoint(u) @base_uri + u end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby-identitas-api-0.6.0 | lib/ruby/identitas/main.rb |
ruby-identitas-api-0.5.0 | lib/ruby/identitas/main.rb |
ruby-identitas-api-0.4.0 | lib/ruby/identitas/main.rb |