Class: Lbrt::Service::Exporter
- Inherits:
-
Object
- Object
- Lbrt::Service::Exporter
- Defined in:
- lib/lbrt/service/exporter.rb
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
8 9 10 11 |
# File 'lib/lbrt/service/exporter.rb', line 8 def initialize(client, = {}) @client = client @options = end |
Class Method Details
.export(client, options = {}) ⇒ Object
3 4 5 |
# File 'lib/lbrt/service/exporter.rb', line 3 def export(client, = {}) self.new(client, ).export end |
Instance Method Details
#export ⇒ Object
13 14 15 16 |
# File 'lib/lbrt/service/exporter.rb', line 13 def export services = @client.services.get normalize(services) end |