Sha256: f79e81b541e1130c633cec1c9688c048f15a507e405ba84edbb4bff38b73c6d3
Contents?: true
Size: 435 Bytes
Versions: 4
Compression:
Stored size: 435 Bytes
Contents
require 'json_api_client' module Icalia module Artanis class Resource < JsonApiClient::Resource # set the api base url in an abstract base class self.site = ENV.fetch 'ARTANIS_URL', 'https://artanis.icalialabs.com' self.connection_class = HttpConnection self.query_builder = ResourceQueryBuilder self.json_key_format = :dasherized_key self.route_format = :dasherized_route end end end
Version data entries
4 entries across 4 versions & 1 rubygems