Sha256: 8a133e47d5c44bd629c0b8ddaca64918b0439848264c3693150764e96a6ea80d
Contents?: true
Size: 570 Bytes
Versions: 11
Compression:
Stored size: 570 Bytes
Contents
module Highrise class Kase < Subject include Pagination 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 def self.all_open_across_pages find_all_across_pages(:from => "/kases/open.xml") end def self.all_closed_across_pages find_all_across_pages(:from => "/kases/closed.xml") end end end
Version data entries
11 entries across 11 versions & 1 rubygems