Class: BuildingSync::AssetScore::WholeBuilding::Rankings::Ranking

Inherits:
Object
  • Object
show all
Defined in:
lib/BuildingSync.rb

Overview

http://buildingsync.net/schemas/bedes-auc/2019Ranking

type - BuildingSync::AssetScore::WholeBuilding::Rankings::Ranking::Type
rank - BuildingSync::RankType

Defined Under Namespace

Classes: Type

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, rank = nil) ⇒ Ranking

Returns a new instance of Ranking.



21166
21167
21168
21169
# File 'lib/BuildingSync.rb', line 21166

def initialize(type = nil, rank = nil)
  @type = type
  @rank = rank
end

Instance Attribute Details

#rankObject

Returns the value of attribute rank.



21164
21165
21166
# File 'lib/BuildingSync.rb', line 21164

def rank
  @rank
end

#typeObject

Returns the value of attribute type.



21163
21164
21165
# File 'lib/BuildingSync.rb', line 21163

def type
  @type
end