Class: PowerBI::GatewayArray

Inherits:
Array
  • Object
show all
Defined in:
lib/power-bi/gateway.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



17
18
19
# File 'lib/power-bi/gateway.rb', line 17

def self.get_class
  Gateway
end

Instance Method Details

#get_dataObject



21
22
23
# File 'lib/power-bi/gateway.rb', line 21

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