Sha256: 73a84213c47d4ad9597369a8948a2bea2ed45447f8b62104ba31bd2bc08f70be
Contents?: true
Size: 376 Bytes
Versions: 21
Compression:
Stored size: 376 Bytes
Contents
module Intercom module Service class BaseService attr_reader :client def initialize(client) @client = client end def collection_class raise NotImplementedError end def from_api(api_response) object = collection_class.new object.from_response(api_response) object end end end end
Version data entries
21 entries across 21 versions & 1 rubygems