Sha256: 73bfb2612c9caff036e0c95e2dbb693ef0801411a304deb9d3f3ec764a7bac96
Contents?: true
Size: 577 Bytes
Versions: 6
Compression:
Stored size: 577 Bytes
Contents
# frozen_string_literal: true require_relative "./list" module Bitly module API module BSD class List < Bitly::API::List ; end ## # Fetch Branded Short Domains (BSDs). # [`GET /v4/bsds`](https://dev.bitly.com/v4/#operation/getBSDs) # # @example # bsds = Bitly::API::BSD.list(client: client) # # @return [Array<String>] def self.list(client:) response = client.request(path: "/bsds") bsds = response.body["bsds"] List.new(items: bsds, response: response) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems