Sha256: 7beb884b7189d3cfe93aa37b78c4df3cc9b00f9706426269065b9174895c7d54
Contents?: true
Size: 580 Bytes
Versions: 59
Compression:
Stored size: 580 Bytes
Contents
require_relative '../model' module Spaceship class ConnectAPI class Capabilities include Spaceship::ConnectAPI::Model attr_accessor :name attr_accessor :description attr_mapping({ "name" => "name", "description" => "description", }) def self.type return "capabilities" end def self.all(client: nil) client ||= Spaceship::ConnectAPI resp = client.get_available_bundle_id_capabilities(bundle_id_id: id).all_pages return resp.flat_map(&:to_models) end end end end
Version data entries
59 entries across 59 versions & 4 rubygems