Class: Reach::REST::Api
- Defined in:
- lib/reach-ruby/rest/api.rb,
lib/reach-ruby/rest/api/authentix.rb,
lib/reach-ruby/rest/api/messaging.rb,
lib/reach-ruby/rest/api/messaging/messaging_item.rb,
lib/reach-ruby/rest/api/authentix/configuration_item.rb,
lib/reach-ruby/rest/api/authentix/authentication_trial_item.rb,
lib/reach-ruby/rest/api/authentix/authentication_trial_stat_item.rb,
lib/reach-ruby/rest/api/authentix/configuration_item/authentication_item.rb,
lib/reach-ruby/rest/api/authentix/configuration_item/authentication_control_item.rb
Defined Under Namespace
Instance Attribute Summary
Attributes inherited from Domain
Instance Method Summary collapse
-
#authentix ⇒ Object
Version Authentix.
-
#initialize(reach) ⇒ Api
constructor
Initialize the Api Domain.
-
#messaging ⇒ Object
Version Messaging.
-
#to_s ⇒ Object
Provide a user friendly representation.
Methods inherited from Domain
Constructor Details
#initialize(reach) ⇒ Api
Initialize the Api Domain
19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/reach-ruby/rest/api.rb', line 19 def initialize(reach) super @base_url = 'https://api.reach.talkylabs.com' @host = 'api.reach.talkylabs.com' @port = 443 # Versions @messaging = nil @authentix = nil end |
Instance Method Details
#authentix ⇒ Object
Version Authentix
39 40 41 |
# File 'lib/reach-ruby/rest/api.rb', line 39 def authentix @authentix ||= Authentix.new self end |
#messaging ⇒ Object
Version Messaging
33 34 35 |
# File 'lib/reach-ruby/rest/api.rb', line 33 def messaging @messaging ||= Messaging.new self end |
#to_s ⇒ Object
Provide a user friendly representation
45 46 47 |
# File 'lib/reach-ruby/rest/api.rb', line 45 def to_s '#<Reach::REST::Api>' end |