Sha256: c489b163dd59fc1d38529e88259dd7eec3605343ee4084e08c0aef3ed90f7f3e

Contents?: true

Size: 297 Bytes

Versions: 1

Compression:

Stored size: 297 Bytes

Contents

module Typetalk
  class Api

    module User

      def get_profile(token:nil)
        response = connection.get do |req|
          req.url "#{endpoint}/profile"
          req.params[:access_token] = token || access_token
        end
        parse_response(response)
      end

    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
typetalk-0.0.1 lib/typetalk/api/user.rb