support/ruby/collins-client/lib/collins/api/logging.rb
# Same as logs but for all assets
# @see #logs
Same as logs but for all assets
Same as logs but for all assets
def all_logs options = {}
      parameters = get_page_options(options).merge(
        :filter => get_option(:filter, options, nil)
      )
      parameters = select_non_empty_parameters parameters
      logger.debug("Fetching logs for all assets with parameters #{parameters.inspect}")
      http_get("/api/assets/logs", parameters) do |response|
        parse_response response, :as => :paginated, :default => [], :raise => strict?, :expects => 200 do |json|
          json.map{|j| OpenStruct.new(symbolize_hash(j))}
        end
      end
    end
def all_logs options = { } parameters = get_page_options ( options ) . merge ( :filter => get_option ( :filter , options , nil ) ) parameters = select_non_empty_parameters parameters logger . debug ( "Fetching logs for all assets with parameters #{parameters.inspect}" ) http_get ( "/api/assets/logs" , parameters ) do | response | parse_response response , :as => :paginated , :default => [ ] , :raise => strict? , :expects => 200 do | json | json . map { | j | OpenStruct . new ( symbolize_hash ( j ) ) } end end end
Same as logs but for all assets
Same as logs but for all assets
options
see
None