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.107 lib/files.com/models/image.rb
files.com-1.1.106 lib/files.com/models/image.rb
files.com-1.1.105 lib/files.com/models/image.rb
files.com-1.1.104 lib/files.com/models/image.rb
files.com-1.1.103 lib/files.com/models/image.rb
files.com-1.1.102 lib/files.com/models/image.rb
files.com-1.1.101 lib/files.com/models/image.rb
files.com-1.1.100 lib/files.com/models/image.rb
files.com-1.1.99 lib/files.com/models/image.rb
files.com-1.1.98 lib/files.com/models/image.rb
files.com-1.1.97 lib/files.com/models/image.rb
files.com-1.1.96 lib/files.com/models/image.rb
files.com-1.1.95 lib/files.com/models/image.rb
files.com-1.1.94 lib/files.com/models/image.rb
files.com-1.1.93 lib/files.com/models/image.rb
files.com-1.1.92 lib/files.com/models/image.rb
files.com-1.1.91 lib/files.com/models/image.rb
files.com-1.1.90 lib/files.com/models/image.rb
files.com-1.1.89 lib/files.com/models/image.rb
files.com-1.1.88 lib/files.com/models/image.rb