lib/dcmgr/models/account_resource.rb in wakame-vdc-agents-11.06.0 vs lib/dcmgr/models/account_resource.rb in wakame-vdc-agents-11.12.0
- old
+ new
@@ -2,13 +2,9 @@
module Dcmgr::Models
# Base class for the model class which belongs to a specific account.
class AccountResource < BaseNew
- inheritable_schema do
- String :account_id, :null=>false, :index=>true
- end
-
def account
Account[self.account_id]
end
end