Sha256: b27c3e28d453dc7f6d093f90478c71aff134c72e457f896d6526783caf237227
Contents?: true
Size: 341 Bytes
Versions: 8
Compression:
Stored size: 341 Bytes
Contents
module Highrise class Kase < Subject def open! update_attribute(:closed_at, nil) end def close! update_attribute(:closed_at, Time.now.utc) end def self.open Kase.find(:all, :from => "/kases/open.xml") end def self.closed Kase.find(:all, :from => "/kases/closed.xml") end end end
Version data entries
8 entries across 8 versions & 2 rubygems