Sha256: 8e278bfd719a15f3e8f87920a6436b3b0af83b75599824e3feb4883436a361e7

Contents?: true

Size: 176 Bytes

Versions: 1

Compression:

Stored size: 176 Bytes

Contents

module Github
  module Archive
    class ArchivedUrl < ::ActiveRecord::Base
      def self.already_has?(url)
        self.where(url: url).count != 0
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
github-archive-0.0.1 lib/github/archive/archived_url.rb