Module: Afasgem
- Extended by:
- Configuration
- Defined in:
- lib/afasgem.rb,
lib/afasgem/version.rb
Constant Summary collapse
- VERSION =
"0.0.3"
Class Method Summary collapse
-
.get_token ⇒ Object
Builds the token xml from the configured token.
-
.getconnector_factory(name) ⇒ Object
Constructs a getconnect for the passed connector name.
-
.updateconnector_factory(name) ⇒ Object
Constructs an updateconnector for the passed connector name.
Methods included from Configuration
Class Method Details
.get_token ⇒ Object
Builds the token xml from the configured token
43 44 45 |
# File 'lib/afasgem.rb', line 43 def self.get_token return "<token><version>1</version><data>#{Afasgem::token}</data></token>" end |
.getconnector_factory(name) ⇒ Object
Constructs a getconnect for the passed connector name
33 34 35 |
# File 'lib/afasgem.rb', line 33 def self.getconnector_factory(name) return GetConnector.new(name) end |
.updateconnector_factory(name) ⇒ Object
Constructs an updateconnector for the passed connector name
38 39 40 |
# File 'lib/afasgem.rb', line 38 def self.updateconnector_factory(name) return UpdateConnector.new(name) end |