Class: Mode::Connector::Registrar
- Inherits:
-
Object
- Object
- Mode::Connector::Registrar
- Defined in:
- lib/mode/connector/registrar.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(config) ⇒ Registrar
constructor
A new instance of Registrar.
- #perform! ⇒ Object
Constructor Details
#initialize(config) ⇒ Registrar
Returns a new instance of Registrar.
6 7 8 |
# File 'lib/mode/connector/registrar.rb', line 6 def initialize(config) @config = config end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
4 5 6 |
# File 'lib/mode/connector/registrar.rb', line 4 def config @config end |
Instance Method Details
#perform! ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/mode/connector/registrar.rb', line 10 def perform! Mode::API::Request.put(path, :data_source_connection => { :data_sources => data_sources } ) end |