class Serverkit::Resources::RemoteFile

Private Instance Methods

content() click to toggle source
# File lib/serverkit/resources/remote_file.rb, line 11
def content
  @content ||= ::File.read(source)
end
has_correct_entry?() click to toggle source

@note Override

# File lib/serverkit/resources/remote_file.rb, line 16
def has_correct_entry?
  has_remote_file? && has_correct_content?
end
update_entry() click to toggle source

@note Override

# File lib/serverkit/resources/remote_file.rb, line 21
def update_entry
  send_file(source, destination)
end