Class: PowerBI::CapacityArray

Inherits:
Array
  • Object
show all
Defined in:
lib/power-bi/capacity.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Array

#initialize, #reload

Constructor Details

This class inherits a constructor from PowerBI::Array

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PowerBI::Array

Class Method Details

.get_classObject



27
28
29
# File 'lib/power-bi/capacity.rb', line 27

def self.get_class
  Capacity
end

Instance Method Details

#get_dataObject



31
32
33
# File 'lib/power-bi/capacity.rb', line 31

def get_data
  @tenant.get("/capacities")[:value]
end