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.1.147 lib/files.com/models/image.rb
files.com-1.1.146 lib/files.com/models/image.rb
files.com-1.1.145 lib/files.com/models/image.rb
files.com-1.1.144 lib/files.com/models/image.rb
files.com-1.1.143 lib/files.com/models/image.rb
files.com-1.1.142 lib/files.com/models/image.rb
files.com-1.1.141 lib/files.com/models/image.rb
files.com-1.1.140 lib/files.com/models/image.rb
files.com-1.1.139 lib/files.com/models/image.rb
files.com-1.1.138 lib/files.com/models/image.rb
files.com-1.1.137 lib/files.com/models/image.rb
files.com-1.1.136 lib/files.com/models/image.rb
files.com-1.1.135 lib/files.com/models/image.rb
files.com-1.1.134 lib/files.com/models/image.rb
files.com-1.1.133 lib/files.com/models/image.rb
files.com-1.1.132 lib/files.com/models/image.rb
files.com-1.1.131 lib/files.com/models/image.rb
files.com-1.1.130 lib/files.com/models/image.rb
files.com-1.1.129 lib/files.com/models/image.rb
files.com-1.1.128 lib/files.com/models/image.rb