Sha256: 5743814985e336eb0544565b745dd65ebd2f4c7134542cd847982ad285a77e12

Contents?: true

Size: 406 Bytes

Versions: 19

Compression:

Stored size: 406 Bytes

Contents

module Checkr
  class Geo < APIResource

    attribute :name
    attribute :state

    api_class_method :all, :get, :constructor => APIList.constructor(:Geo)
    api_class_method :retrieve, :get, ":path/:id", :arguments => [:id]
    api_class_method :create, :post

    api_instance_method :delete, :delete

    def self.path
      "/v1/geos"
    end

    APIClass.register_subclass(self, "geo")
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
checkr-official-1.8.0 lib/checkr/geo.rb
checkr-official-1.7.1 lib/checkr/geo.rb
checkr-official-1.7 lib/checkr/geo.rb
checkr-official-1.6 lib/checkr/geo.rb
checkr-official-1.5.4 lib/checkr/geo.rb
checkr-official-1.5.3 lib/checkr/geo.rb
checkr-official-1.5.2 lib/checkr/geo.rb
checkr-official-1.5.1 lib/checkr/geo.rb
checkr-official-1.5.0 lib/checkr/geo.rb
checkr-official-1.4.0 lib/checkr/geo.rb
checkr-official-1.3.1 lib/checkr/geo.rb
checkr-official-1.2.1 lib/checkr/geo.rb
checkr-official-1.2.0 lib/checkr/geo.rb
checkr-official-1.1.2 lib/checkr/geo.rb
checkr-official-1.1.1 lib/checkr/geo.rb
checkr-official-1.1.0 lib/checkr/geo.rb
checkr-official-1.0.2 lib/checkr/geo.rb
checkr-official-1.0.1 lib/checkr/geo.rb
checkr-official-1.0.0 lib/checkr/geo.rb