module Rancher::Api::Helpers::Machine::ClassMethods

Public Instance Methods

active() click to toggle source
# File lib/rancher/api/helpers/machine.rb, line 21
def active
  where(state: 'active')
end
transitioning() click to toggle source
# File lib/rancher/api/helpers/machine.rb, line 17
def transitioning
  all.select { |m| m.transitioning.eql?('yes') }
end