Module: Haplocheirus

Defined in:
lib/haplocheirus.rb,
lib/haplocheirus/version.rb,
lib/haplocheirus/thrift/timeline_store.rb,
lib/haplocheirus/thrift/timeline_store_types.rb

Defined Under Namespace

Modules: TimelineSegmentState, TimelineStore Classes: Client, MockService, Service, TimelineGet, TimelineGetRange, TimelineSegment, TimelineStoreException

Constant Summary collapse

VERSION =
'0.6.5'

Class Method Summary collapse

Class Method Details

.new(*args) ⇒ Object

Convenience method for:

s = Haplocheirus::Service.new(*args)
Haplocheirus::Client.new(s)


16
17
18
19
20
21
# File 'lib/haplocheirus.rb', line 16

def self.new(*args)
  service = Haplocheirus::Service.new(*args)
  Haplocheirus::Client.new(service)
rescue Haplocheirus::Service::ServiceDisabled
  nil
end