class MultiSync::Resource
Constants
- AWS_ATTRIBUTES
Public Class Methods
new(*args)
click to toggle source
Calls superclass method
# File lib/multi_sync/resource.rb, line 48 def initialize(*args) super rescue Virtus::CoercionError => e raise ArgumentError, e.message end
Public Instance Methods
<=>(other)
click to toggle source
# File lib/multi_sync/resource.rb, line 58 def <=>(other) path_without_root <=> other.path_without_root end
==(other)
click to toggle source
# File lib/multi_sync/resource.rb, line 62 def ==(other) path_without_root == other.path_without_root end
Also aliased as: eql?
hash()
click to toggle source
# File lib/multi_sync/resource.rb, line 54 def hash path_without_root.hash end
matching_etag?(other)
click to toggle source
# File lib/multi_sync/resource.rb, line 67 def matching_etag?(other) etag == other.etag end