Class: PowerBI::Array
- Inherits:
-
Object
- Object
- PowerBI::Array
- Defined in:
- lib/power-bi/array.rb
Direct Known Subclasses
DatasetArray, DatasourceArray, GatewayArray, GatewayDatasourceArray, ParameterArray, RefreshArray, ReportArray, WorkspaceArray
Instance Method Summary collapse
-
#initialize(tenant) ⇒ Array
constructor
A new instance of Array.
- #reload ⇒ Object
Constructor Details
#initialize(tenant) ⇒ Array
Returns a new instance of Array.
5 6 7 8 9 |
# File 'lib/power-bi/array.rb', line 5 def initialize(tenant) @fulfilled = false @content = nil @tenant = tenant end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object (private)
28 29 30 |
# File 'lib/power-bi/array.rb', line 28 def method_missing(method, *args, &block) get_content.send(method, *args, &block) end |
Instance Method Details
#reload ⇒ Object
11 12 13 14 15 |
# File 'lib/power-bi/array.rb', line 11 def reload @fulfilled = false @content = nil self end |