Sha256: 9eeeb05ac4a6b1c2933a3ac516fc5c57820be58fd29ede023d167ccdd1173b15
Contents?: true
Size: 369 Bytes
Versions: 9
Compression:
Stored size: 369 Bytes
Contents
require 'caseblocks_api' require 'active_support/inflector' module CaseblocksAPI class GetCases def initialize(client) @client = client end def execute(ids) url = "/case_blocks/cases" @client.get(url, query: {ids: ids}) end end class Client def get_cases(ids) GetCases.new(self.class).execute(ids) end end end
Version data entries
9 entries across 9 versions & 1 rubygems