Sha256: ac838a7981f71ae2befd135f57d3daf34b009726d79930961d77af1bb42a31ba
Contents?: true
Size: 521 Bytes
Versions: 43
Compression:
Stored size: 521 Bytes
Contents
require 'intercom/service/base_service' require 'intercom/api_operations/list' require 'intercom/api_operations/find' module Intercom module Service class Admin < BaseService include ApiOperations::List include ApiOperations::Find def collection_class Intercom::Admin end def me response = @client.get("/me", {}) raise Intercom::HttpError.new('Http Error - No response entity returned') unless response from_api(response) end end end end
Version data entries
43 entries across 43 versions & 1 rubygems