Sha256: 9398b9056d50a82f16deced0ee301670778a0e53b9f7d480d52a8e07fbb0e9b6

Contents?: true

Size: 376 Bytes

Versions: 686

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

686 entries across 686 versions & 1 rubygems

Version Path
files.com-1.1.215 lib/files.com/models/image.rb
files.com-1.1.214 lib/files.com/models/image.rb
files.com-1.1.213 lib/files.com/models/image.rb
files.com-1.1.212 lib/files.com/models/image.rb
files.com-1.1.211 lib/files.com/models/image.rb
files.com-1.1.210 lib/files.com/models/image.rb
files.com-1.1.209 lib/files.com/models/image.rb
files.com-1.1.208 lib/files.com/models/image.rb
files.com-1.1.207 lib/files.com/models/image.rb
files.com-1.1.206 lib/files.com/models/image.rb
files.com-1.1.205 lib/files.com/models/image.rb
files.com-1.1.204 lib/files.com/models/image.rb
files.com-1.1.203 lib/files.com/models/image.rb
files.com-1.1.202 lib/files.com/models/image.rb
files.com-1.1.201 lib/files.com/models/image.rb
files.com-1.1.200 lib/files.com/models/image.rb
files.com-1.1.199 lib/files.com/models/image.rb
files.com-1.1.198 lib/files.com/models/image.rb
files.com-1.1.197 lib/files.com/models/image.rb
files.com-1.1.196 lib/files.com/models/image.rb