client/lib/deltacloud/client/methods/api.rb
# Syntax sugar for Method modules, where you can 'require' the support
# for the given collection before you execute API call
#
# Raise +NotSupported+ exception if the given +collection+ is not
# supported
#
Syntax sugar for Method modules, where you can 'require' the support
for the given collection before you execute API call

Raise +NotSupported+ exception if the given +collection+ is not
supported
Syntax sugar for Method modules where you can ' require ' the support for the given collection before you execute API call Raise + NotSupported + exception if the given + collection + is not supported
def must_support!(collection)
        unless support?(collection)
          raise error(:not_supported).new("Collection '#{collection}' not supported by current API endpoint.")
        end
      end
def must_support! ( collection ) unless support? ( collection ) raise error ( :not_supported ) . new ( "Collection '#{collection}' not supported by current API endpoint." ) end end
Syntax sugar for Method modules, where you can 'require' the support
for the given collection before you execute API call
Syntax sugar for Method modules where you can ' require ' the support for the given collection before you execute API call
collection
<not_specific>