Sha256: 860df23443f67c04be024cc9632c27cae6d58a480cef5e90aeaea81650938c9f

Contents?: true

Size: 293 Bytes

Versions: 3

Compression:

Stored size: 293 Bytes

Contents

module Georeferencer
  class Progress
    include Georeferencer::Base

    collection_path "progress"
    resource_path "progress?collection=:id"

    default_scope -> {
      where(format: 'json')
    }

    def self.all
      raise NoMethodError, "Use #find(project_name)"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
georeferencer-0.1.3 lib/georeferencer/models/progress.rb
georeferencer-0.1.2 lib/georeferencer/models/progress.rb
georeferencer-0.1.1 lib/georeferencer/models/progress.rb