Module: RelayApiClient
- Defined in:
- lib/relay_api_client.rb,
lib/relay_api_client/base.rb,
lib/relay_api_client/version.rb
Defined Under Namespace
Classes: Base
Constant Summary collapse
- VERSION =
"0.0.3"
Class Attribute Summary collapse
-
.linker_password ⇒ Object
Returns the value of attribute linker_password.
-
.linker_username ⇒ Object
Returns the value of attribute linker_username.
-
.wsdl ⇒ Object
Returns the value of attribute wsdl.
Class Method Summary collapse
Class Attribute Details
.linker_password ⇒ Object
Returns the value of attribute linker_password.
6 7 8 |
# File 'lib/relay_api_client.rb', line 6 def linker_password @linker_password end |
.linker_username ⇒ Object
Returns the value of attribute linker_username.
6 7 8 |
# File 'lib/relay_api_client.rb', line 6 def linker_username @linker_username end |
.wsdl ⇒ Object
Returns the value of attribute wsdl.
6 7 8 |
# File 'lib/relay_api_client.rb', line 6 def wsdl @wsdl end |
Class Method Details
.configure {|_self| ... } ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/relay_api_client.rb', line 8 def configure yield self self.wsdl ||= 'https://signin.cru.org/sso/selfservice/webservice/5.0?wsdl' if linker_username && linker_password IdentityLinker.configure do |c| c.server_id = linker_username c.server_secret = linker_password end end end |