Sha256: 3056eb0d5c94ee996415427039935e8b0c837a3fc4333d2be560944ca8ed72d8

Contents?: true

Size: 307 Bytes

Versions: 6

Compression:

Stored size: 307 Bytes

Contents

# -*- coding: utf-8 -*-

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
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
wakame-vdc-agents-11.06.0 lib/dcmgr/models/account_resource.rb
wakame-vdc-dcmgr-11.06.0 lib/dcmgr/models/account_resource.rb
wakame-vdc-dcmgr-10.12.0 lib/dcmgr/models/account_resource.rb
wakame-vdc-agents-10.12.0 lib/dcmgr/models/account_resource.rb
wakame-vdc-dcmgr-10.11.0 lib/dcmgr/models/account_resource.rb
wakame-vdc-agents-10.11.0 lib/dcmgr/models/account_resource.rb