Class: Lbrt::Space::Exporter
- Inherits:
-
Object
- Object
- Lbrt::Space::Exporter
- Defined in:
- lib/lbrt/space/exporter.rb
Constant Summary collapse
- DEFAULT_CONCURRENCY =
32
Class Method Summary collapse
Instance Method Summary collapse
- #export ⇒ Object
-
#initialize(client, options = {}) ⇒ Exporter
constructor
of class methods.
Constructor Details
#initialize(client, options = {}) ⇒ Exporter
of class methods
10 11 12 13 |
# File 'lib/lbrt/space/exporter.rb', line 10 def initialize(client, = {}) @client = client @options = end |
Class Method Details
.export(client, options = {}) ⇒ Object
5 6 7 |
# File 'lib/lbrt/space/exporter.rb', line 5 def export(client, = {}) self.new(client, ).export end |
Instance Method Details
#export ⇒ Object
15 16 17 18 |
# File 'lib/lbrt/space/exporter.rb', line 15 def export spaces = @client.spaces.get normalize_spaces(spaces) end |