Sha256: 5f98b1b67819ebdcf1638fc5797ebfec3aa836e9cfb31b153e066ef88e544fc5
Contents?: true
Size: 601 Bytes
Versions: 1
Compression:
Stored size: 601 Bytes
Contents
# frozen_string_literal: true require_relative './../utils/ss_model' # Root Sourcescrub module Sourcescrub # Apis module Apis # Companies endpoint class Companies include ::Sourcescrub::Utils::SsModel attr_accessor :args def initialize(domain, args) @domain = domain @model_type = args.delete(:model_type) @card_id = args.delete(:card_id) @args = args end def request_url [ kclass_name::ENDPOINT, @domain, @card_id ].compact.join('/') end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sourcescrub-0.0.2 | lib/sourcescrub/apis/companies.rb |