Class: PowerBI::CapacityArray
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Array
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_class ⇒ Object
27 28 29 |
# File 'lib/power-bi/capacity.rb', line 27 def self.get_class Capacity end |
Instance Method Details
#get_data ⇒ Object
31 32 33 |
# File 'lib/power-bi/capacity.rb', line 31 def get_data @tenant.get("/capacities")[:value] end |