Sha256: 7274fc8541408fee8dca5ac9f6c26a0c865d3cb4d097161362a056e0cef0d26c
Contents?: true
Size: 571 Bytes
Versions: 11
Compression:
Stored size: 571 Bytes
Contents
module Checkr class Program < APIResource attribute :name attribute :created_at attribute :deleted_at attribute :geos, APIList.constructor(:Geo) attribute_writer_alias :geo_ids, :geos attribute :packages, APIList.constructor(:Package) attribute_writer_alias :package_ids, :packages api_class_method :all, :get, :constructor => APIList.constructor(:Program) api_class_method :retrieve, :get, ":path/:id", :arguments => [:id] def self.path "/v1/programs" end APIClass.register_subclass(self, 'program') end end
Version data entries
11 entries across 11 versions & 1 rubygems