Class: Cleo::Service

Inherits:
Base
  • Object
show all
Defined in:
lib/cleo/service.rb

Class Method Summary collapse

Methods inherited from Base

async?, auto_flush?, good_response_code?

Class Method Details

.connection_server_urlObject



7
8
9
# File 'lib/cleo/service.rb', line 7

def self.connection_server_url
  return Cleo::ConnectionServer.url.blank? ? nil : Cleo::ConnectionServer.url
end

.element_server_urlObject



11
12
13
# File 'lib/cleo/service.rb', line 11

def self.element_server_url
  return Cleo::ElementServer.url.blank? ? nil : Cleo::ElementServer.url
end

.urlObject



3
4
5
# File 'lib/cleo/service.rb', line 3

def self.url
  return self.base_url
end