Sha256: 370e0ede7059b8f8efb8c05a11ab36eb115bb2dbb70a5cda4fa52b451c267218
Contents?: true
Size: 578 Bytes
Versions: 1
Compression:
Stored size: 578 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/api-reference/#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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bitly-3.0.0 | lib/bitly/api/bsd.rb |