Sha256: 9398b9056d50a82f16deced0ee301670778a0e53b9f7d480d52a8e07fbb0e9b6

Contents?: true

Size: 376 Bytes

Versions: 658

Compression:

Stored size: 376 Bytes

Contents

# frozen_string_literal: true

module Files
  class Image
    attr_reader :options, :attributes

    def initialize(attributes = {}, options = {})
      @attributes = attributes || {}
      @options = options || {}
    end

    # string - Image name
    def name
      @attributes[:name]
    end

    # string - Image URI
    def uri
      @attributes[:uri]
    end
  end
end

Version data entries

658 entries across 658 versions & 1 rubygems

Version Path
files.com-1.0.83 lib/files.com/models/image.rb
files.com-1.0.82 lib/files.com/models/image.rb
files.com-1.0.81 lib/files.com/models/image.rb
files.com-1.0.80 lib/files.com/models/image.rb
files.com-1.0.79 lib/files.com/models/image.rb
files.com-1.0.78 lib/files.com/models/image.rb
files.com-1.0.77 lib/files.com/models/image.rb
files.com-1.0.76 lib/files.com/models/image.rb
files.com-1.0.75 lib/files.com/models/image.rb
files.com-1.0.74 lib/files.com/models/image.rb
files.com-1.0.73 lib/files.com/models/image.rb
files.com-1.0.1 lib/files.com/models/image.rb
files.com-1.0.72 lib/files.com/models/image.rb
files.com-1.0.71 lib/files.com/models/image.rb
files.com-1.0.70 lib/files.com/models/image.rb
files.com-1.0.69 lib/files.com/models/image.rb
files.com-1.0.68 lib/files.com/models/image.rb
files.com-1.0.67 lib/files.com/models/image.rb
files.com-1.0.66 lib/files.com/models/image.rb
files.com-1.0.65 lib/files.com/models/image.rb