lib/copy/operations/all.rb
def results_from(response)
          results = []
          response.each do |obj|
            results << self.new(obj)
          end
          results
        end
# Retrieves all available objects from the Copy API
#
# @param [Hash] options Options to pass to the API
# @return [Array] The available objects
Retrieves all available objects from the Copy API
Retrieves all available objects from the Copy API
def results_from(response)
          results = []
          response.each do |obj|
            results << self.new(obj)
          end
          results
        end
def results_from ( response ) results = [ ] response . each do | obj | results << self . new ( obj ) end results end
Retrieves all available objects from the Copy API
Retrieves all available objects from the Copy API
The available objects
The available objects
Array
response
options Options to pass to the API
options Options to pass to the API