Sha256: f16088b259a5943feb4241d5b5c2da6fc913f323bdef1150d407dd22a60ba04c
Contents?: true
Size: 682 Bytes
Versions: 43
Compression:
Stored size: 682 Bytes
Contents
# frozen_string_literal: true module Files class BundleFile attr_reader :options, :attributes def initialize(attributes = {}, options = {}) @attributes = attributes || {} @options = options || {} end # string - Bundle file download URI def download_uri @attributes[:download_uri] end # string - File path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters. def path @attributes[:path] end # int64 - File size def size @attributes[:size] end # string - Type of 'directory' or 'file' def type @attributes[:type] end end end
Version data entries
43 entries across 43 versions & 1 rubygems