Sha256: 28116696bdcb469eca054dc7c15b247ff7ed2e8e21a60b9c98c70a8867f0e2f4
Contents?: true
Size: 461 Bytes
Versions: 1
Compression:
Stored size: 461 Bytes
Contents
require "ruby/identitas/endpoints/me" require "ruby/identitas/endpoints/token_status" module Ruby module Identitas class Main include HTTParty include Ruby::Identitas::Endpoints::Me include Ruby::Identitas::Endpoints::TokenStatus 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-identitas-api-0.2.0 | lib/ruby/identitas/main.rb |