Sha256: c64df8d139ad6dd203b1b111f31fbbbd0bbbb271d97cfd181698a6fe6b279c4a

Contents?: true

Size: 269 Bytes

Versions: 12

Compression:

Stored size: 269 Bytes

Contents

# frozen_string_literal: true

module Seam
  module Resources
    module ResourceWarningsSupport
      def warnings
        @warnings_converted ||= @warnings.is_a?(Array) ? Seam::Resources::ResourceWarning.load_from_response(@warnings) : []
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
seam-2.3.0 lib/seam/routes/resources/resource_warnings_support.rb
seam-2.2.0 lib/seam/routes/resources/resource_warnings_support.rb
seam-2.1.0 lib/seam/routes/resources/resource_warnings_support.rb
seam-2.0.1 lib/seam/routes/resources/resource_warnings_support.rb
seam-2.0.0 lib/seam/routes/resources/resource_warnings_support.rb
seam-2.0.0rc0 lib/seam/routes/resources/resource_warnings_support.rb
seam-2.0.0b5 lib/seam/routes/resources/resource_warnings_support.rb
seam-2.0.0b4 lib/seam/routes/resources/resource_warnings_support.rb
seam-2.0.0b3 lib/seam/routes/resources/resource_warnings_support.rb
seam-2.0.0b2 lib/seam/routes/resources/resource_warnings_support.rb
seam-2.0.0b1 lib/seam/routes/resources/resource_warnings_support.rb
seam-2.0.0b0 lib/seam/routes/resources/resource_warnings_support.rb