Sha256: 00a61651e0c407a1c744937db58df1a8a000fef63b0c44f69bbccbc35b6e75bb
Contents?: true
Size: 831 Bytes
Versions: 4
Compression:
Stored size: 831 Bytes
Contents
# typed: strict # frozen_string_literal: true # zeitwerk will take care of auto loading files based on their name :) require 'zeitwerk' require 'active_support/core_ext/string/inflections' require 'ostruct' require 'faraday' require 'sorbet-runtime' require 'json' loader = Zeitwerk::Loader.for_gem loader.setup # ready! module ShotgridApiRuby extend T::Sig sig do params( auth: ShotgridApiRuby::Types::AuthType, site_url: T.nilable(String), shotgun_site: T.nilable(String), shotgrid_site: T.nilable(String), ) .returns(Client) end def self.new(auth:, site_url: nil, shotgun_site: nil, shotgrid_site: nil) Client.new( auth: auth, site_url: site_url, shotgun_site: shotgun_site, shotgrid_site: shotgrid_site, ) end end loader.eager_load
Version data entries
4 entries across 4 versions & 1 rubygems