Sha256: 9398b9056d50a82f16deced0ee301670778a0e53b9f7d480d52a8e07fbb0e9b6

Contents?: true

Size: 376 Bytes

Versions: 652

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

652 entries across 652 versions & 1 rubygems

Version Path
files.com-1.1.181 lib/files.com/models/image.rb
files.com-1.1.180 lib/files.com/models/image.rb
files.com-1.1.179 lib/files.com/models/image.rb
files.com-1.1.178 lib/files.com/models/image.rb
files.com-1.1.177 lib/files.com/models/image.rb
files.com-1.1.176 lib/files.com/models/image.rb
files.com-1.1.175 lib/files.com/models/image.rb
files.com-1.1.174 lib/files.com/models/image.rb
files.com-1.1.173 lib/files.com/models/image.rb
files.com-1.1.172 lib/files.com/models/image.rb
files.com-1.1.171 lib/files.com/models/image.rb
files.com-1.1.170 lib/files.com/models/image.rb
files.com-1.1.169 lib/files.com/models/image.rb
files.com-1.1.168 lib/files.com/models/image.rb
files.com-1.1.167 lib/files.com/models/image.rb
files.com-1.1.166 lib/files.com/models/image.rb
files.com-1.1.165 lib/files.com/models/image.rb
files.com-1.1.164 lib/files.com/models/image.rb
files.com-1.1.163 lib/files.com/models/image.rb
files.com-1.1.162 lib/files.com/models/image.rb