Sha256: 25430eda9dc5f59d9379a4f0089daff732093aae65e45491278bf790aa78a830

Contents?: true

Size: 404 Bytes

Versions: 2

Compression:

Stored size: 404 Bytes

Contents

module Ably
  VERSION = '1.1.5'
  PROTOCOL_VERSION = '1.1'

  # Allow a variant to be configured for all instances of this client library
  # such as ruby-rest-[VERSION]

  # @api private
  def self.lib_variant=(variant)
    @lib_variant = variant
  end

  def self.lib_variant
    @lib_variant
  end

  # @api private
  def self.major_minor_version_numeric
    VERSION.gsub(/\.\d+$/, '').to_f
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
ably-rest-1.1.5 lib/submodules/ably-ruby/lib/ably/version.rb
ably-1.1.5 lib/ably/version.rb