Sha256: 41bd4545d2acf8e78d191a9bb866eddd012a951cc8efbe0da597034961a72805

Contents?: true

Size: 359 Bytes

Versions: 1

Compression:

Stored size: 359 Bytes

Contents

require "ruby/identitas/endpoints/me"

module Ruby
  module Identitas
    class Main
      include HTTParty
      include Ruby::Identitas::Endpoints::Me

      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.1.0 lib/ruby/identitas/main.rb