Class: CdnFu::FileInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/cdn_fu/file_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#gzip=(value) ⇒ Object (writeonly)

Sets the attribute gzip

Parameters:

  • value

    the value to set the attribute gzip to.



4
5
6
# File 'lib/cdn_fu/file_info.rb', line 4

def gzip=(value)
  @gzip = value
end

#local_pathObject

Returns the value of attribute local_path.



3
4
5
# File 'lib/cdn_fu/file_info.rb', line 3

def local_path
  @local_path
end

#minified_pathObject

Returns the value of attribute minified_path.



3
4
5
# File 'lib/cdn_fu/file_info.rb', line 3

def minified_path
  @minified_path
end

#minify=(value) ⇒ Object (writeonly)

Sets the attribute minify

Parameters:

  • value

    the value to set the attribute minify to.



4
5
6
# File 'lib/cdn_fu/file_info.rb', line 4

def minify=(value)
  @minify = value
end

#remote_pathObject

Returns the value of attribute remote_path.



3
4
5
# File 'lib/cdn_fu/file_info.rb', line 3

def remote_path
  @remote_path
end

Instance Method Details

#gzip?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/cdn_fu/file_info.rb', line 6

def gzip?
  @gzip
end

#minify?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/cdn_fu/file_info.rb', line 10

def minify?
  @minify
end