Class: PowerBI::PageArray
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Array
#reload
Constructor Details
#initialize(tenant, report) ⇒ PageArray
22
23
24
25
|
# File 'lib/power-bi/page.rb', line 22
def initialize(tenant, report)
super(tenant, report)
@report = report
end
|
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/page.rb', line 27
def self.get_class
Page
end
|
Instance Method Details
31
32
33
|
# File 'lib/power-bi/page.rb', line 31
def get_data
@tenant.get("/groups/#{@report.workspace.id}/reports/#{@report.id}/pages")[:value]
end
|