class ChefFixie::Sql::Container

Some types have an org_id field and may be scoped to an org (some, like groups are able to be global as well) This sets up a filtered accessor that limits

module ScopedType
  def self.included(base)
    pp :base=>base
    Org.scoped_type(base)
  end
end

Public Class Methods

new(data) click to toggle source
Calls superclass method ChefFixie::Sql::SqlObject::new
# File lib/chef_fixie_shahid/sql_objects.rb, line 219
def initialize(data)
  super(data)
end