class Rpx::Lease

Public Class Methods

coerce(list_of_hash) click to toggle source
# File lib/rpx/lease.rb, line 45
def self.coerce(list_of_hash)
  return self.coerce([list_of_hash]) unless list_of_hash.is_a?(Array)

  list_of_hash.map{ |h| self.new(h) }
end

Public Instance Methods

moved_out?() click to toggle source
# File lib/rpx/lease.rb, line 51
def moved_out?
  self.moveoutdate != nil
end